All Projects → paradoxinversion → react-starter

paradoxinversion / react-starter

Licence: MIT license
A simple starter for developing react apps.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to react-starter

babel-config-example
No description or website provided.
Stars: ✭ 16 (-64.44%)
Mutual labels:  babeljs
babel-plugin-js-logger
Babel plugin to enable js-logger in your entire project efficiently.
Stars: ✭ 12 (-73.33%)
Mutual labels:  babeljs
Reactn
React, but with built-in global state management.
Stars: ✭ 1,906 (+4135.56%)
Mutual labels:  babeljs
generator-yeomify-landing
Yeoman generator for landing project powered by Gulp
Stars: ✭ 29 (-35.56%)
Mutual labels:  babeljs
react-innertext
Returns the innerText of a React JSX object.
Stars: ✭ 37 (-17.78%)
Mutual labels:  babeljs
react-multi-context
Manage multiple React 16 contexts with a single component.
Stars: ✭ 19 (-57.78%)
Mutual labels:  babeljs
eval-estree-expression
Safely evaluate JavaScript (estree) expressions, sync and async.
Stars: ✭ 22 (-51.11%)
Mutual labels:  babeljs
react-native-web-view
An implementation of React Native's WebView that allows for postMessage on iOS devices.
Stars: ✭ 13 (-71.11%)
Mutual labels:  babeljs
universal-react-webpack-boilerplate
unireact - quickly bootstrap your universal react-app
Stars: ✭ 27 (-40%)
Mutual labels:  babeljs
gulp-sass-bootstrap-boilerplate
⏰📌 Boilerplate with gulp.js, Sass, Babel, and Browsersync.
Stars: ✭ 24 (-46.67%)
Mutual labels:  babeljs

react-starter

react-starter is a simple starting point for Single Page Apps using React, Babel, and Webpack.

Getting Started

(Note: this project was created in Node v9.3.0)

Clone this repo and install dependencies with npm install.

Starting The Dev Server

To start the server and start hacking, run

npm start

This starter uses webpack-dev-server to spin up an Express server with Hot-Reloading capability. Changes to code in .src should cause pages to reload.

Static Assets

Static Assets are served from the /public folder.

Styling

Stylesheets are bundled along with project files in the .src folder, so you can divide your stylesheets by component (or any other configuration you plan)

Bundling

To bundle your files, run

npm run build

This will bundle your files at <projectRoot>/dist/bundle.js. index.html already references this location, allowing you build and open index.html without having to start the server. Note that there are no optimizations in place at this time.

Feature Support

This implementation strives to make as few assumptions about what you intend to do with it as possible, though it does assume you intend to use modern language fetures. If there is a feature you believe is missing that is absolutely necessary for a bare-bones implementation, feel free to file an issue.

Note: In the future, it will make the assumption that you want to copy all necessary files for your app (including public, etc) into the dist folder.

General Support

If you're encountering a bug or unexpected behavior, also feel free to file an issue. Be sure to include your version of node, your package.json, any error output, and if possible, a link to a repository that has the issue you're referring to. Note, that tickets about bugs that go beyond this implementation (for instance, you decide to add a loader not included in this repo) will be closed unless it's determined a problem with this implenetation is causing the issue.

Additional Credits

The swiss army knife svg is by Delapouite under CC BY 3.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].