Completed Dev Environment for "Building Applications with React and Redux" on Pluralsight
JavaScript
1,250
71 commits
updated Jun 16, 2019
This repo contains code from the previous version of Building Applications in React and Redux in ES6. For the latest code, see the exercise files on the course page on Pluralsight.
git clone https://github.com/coryhouse/pluralsight-redux-starter.git or download the zipcd pluralsight-redux-starternpm installnpm start -s
This will run the automated build process, start up a webserver, and open the application in your default browser. When doing development with this kit, this command will continue watching files all your files. Every time you hit save the code is rebuilt, linting runs, and tests run automatically. Note: The -s flag is optional. It enables silent mode which suppresses unnecessary messages during the build.npm install - If you forget to do this, you'll see this: babel-node: command not found.npm install [email protected]set NODE_ENV. If it comes back as production, you need to clear this env variable.import Route from "react-router/es6/Route"; and import IndexRoute from "react-router/es6/IndexRoute";. Don't do that. :) Use the exact imports I use in the course.Unexpected token import error.| Dependency | Use |
|---|---|
| babel-polyfill | Polyfill for Babel features that cannot be transpiled |
| bootstrap | CSS Framework |
| jquery | Only used to support toastr |
| react | React library |
| react-dom | React library for DOM rendering |
| react-redux | Redux library for connecting React components to Redux |
| react-router | React library for routing |
| react-router-redux | Keep React Router in sync with Redux application state |
| redux | Library for unidirectional data flows |
| redux-thunk | Async redux library |
| toastr | Display messages to the user |
| Dependency | Use |
|---|---|
| babel-cli | Babel Command line interface |
| babel-core | Babel Core for transpiling the new JavaScript to old |
| babel-loader | Adds Babel support to Webpack |
| babel-plugin-react-display-name | Add displayName to React.createClass calls |
| babel-preset-es2015 | Babel preset for ES2015 |
| babel-preset-react | Add JSX support to Babel |
| babel-preset-react-hmre | Hot reloading preset for Babel |
| babel-register | Register Babel to transpile our Mocha tests |
| cheerio | Supports querying DOM with jQuery like syntax - Useful in testing and build process for HTML manipulation |
| colors | Adds color support to terminal |
| compression | Add gzip support to Express |
| cross-env | Cross-environment friendly way to handle environment variables |
| css-loader | Add CSS support to Webpack |
| enzyme | Simplified JavaScript Testing utilities for React |
| eslint | Lints JavaScript |
| eslint-plugin-import | Advanced linting of ES6 imports |
| eslint-plugin-react | Adds additional React-related rules to ESLint |
| eslint-watch | Add watch functionality to ESLint |
| eventsource-polyfill | Polyfill to support hot reloading in IE |
| expect | Assertion library for use with Mocha |
| express | Serves development and production builds |
| extract-text-webpack-plugin | Extracts CSS into separate file for production build |
| file-loader | Adds file loading support to Webpack |
| jsdom | In-memory DOM for testing |
| mocha | JavaScript testing library |
| nock | Mock HTTP requests for testing |
| npm-run-all | Display results of multiple commands on single command line |
| open | Open app in default browser |
| react-addons-test-utils | Adds React TestUtils |
| redux-immutable-state-invariant | Warn when Redux state is mutated |
| redux-mock-store | Mock Redux store for testing |
| rimraf | Delete files |
| style-loader | Add Style support to Webpack |
| url-loader | Add url loading support to Webpack |
| webpack | Bundler with plugin system and integrated development server |
| webpack-dev-middleware | Adds middleware support to webpack |
| webpack-hot-middleware | Adds hot reloading to webpack |
Overall
Maintained
Code review
Latest release
Releases this year
37 followers · starred Nov 2017
68 followers · starred Mar 2018
34 followers · starred Jan 2017
227 followers · starred Jun 2017
Completed Dev Environment for "Building Applications with React and Redux" on Pluralsight
JavaScript
1,250
71 commits
updated Jun 16, 2019
This repo contains code from the previous version of Building Applications in React and Redux in ES6. For the latest code, see the exercise files on the course page on Pluralsight.
git clone https://github.com/coryhouse/pluralsight-redux-starter.git or download the zipcd pluralsight-redux-starternpm installnpm start -s
This will run the automated build process, start up a webserver, and open the application in your default browser. When doing development with this kit, this command will continue watching files all your files. Every time you hit save the code is rebuilt, linting runs, and tests run automatically. Note: The -s flag is optional. It enables silent mode which suppresses unnecessary messages during the build.npm install - If you forget to do this, you'll see this: babel-node: command not found.npm install [email protected]set NODE_ENV. If it comes back as production, you need to clear this env variable.import Route from "react-router/es6/Route"; and import IndexRoute from "react-router/es6/IndexRoute";. Don't do that. :) Use the exact imports I use in the course.Unexpected token import error.| Dependency | Use |
|---|---|
| babel-polyfill | Polyfill for Babel features that cannot be transpiled |
| bootstrap | CSS Framework |
| jquery | Only used to support toastr |
| react | React library |
| react-dom | React library for DOM rendering |
| react-redux | Redux library for connecting React components to Redux |
| react-router | React library for routing |
| react-router-redux | Keep React Router in sync with Redux application state |
| redux | Library for unidirectional data flows |
| redux-thunk | Async redux library |
| toastr | Display messages to the user |
| Dependency | Use |
|---|---|
| babel-cli | Babel Command line interface |
| babel-core | Babel Core for transpiling the new JavaScript to old |
| babel-loader | Adds Babel support to Webpack |
| babel-plugin-react-display-name | Add displayName to React.createClass calls |
| babel-preset-es2015 | Babel preset for ES2015 |
| babel-preset-react | Add JSX support to Babel |
| babel-preset-react-hmre | Hot reloading preset for Babel |
| babel-register | Register Babel to transpile our Mocha tests |
| cheerio | Supports querying DOM with jQuery like syntax - Useful in testing and build process for HTML manipulation |
| colors | Adds color support to terminal |
| compression | Add gzip support to Express |
| cross-env | Cross-environment friendly way to handle environment variables |
| css-loader | Add CSS support to Webpack |
| enzyme | Simplified JavaScript Testing utilities for React |
| eslint | Lints JavaScript |
| eslint-plugin-import | Advanced linting of ES6 imports |
| eslint-plugin-react | Adds additional React-related rules to ESLint |
| eslint-watch | Add watch functionality to ESLint |
| eventsource-polyfill | Polyfill to support hot reloading in IE |
| expect | Assertion library for use with Mocha |
| express | Serves development and production builds |
| extract-text-webpack-plugin | Extracts CSS into separate file for production build |
| file-loader | Adds file loading support to Webpack |
| jsdom | In-memory DOM for testing |
| mocha | JavaScript testing library |
| nock | Mock HTTP requests for testing |
| npm-run-all | Display results of multiple commands on single command line |
| open | Open app in default browser |
| react-addons-test-utils | Adds React TestUtils |
| redux-immutable-state-invariant | Warn when Redux state is mutated |
| redux-mock-store | Mock Redux store for testing |
| rimraf | Delete files |
| style-loader | Add Style support to Webpack |
| url-loader | Add url loading support to Webpack |
| webpack | Bundler with plugin system and integrated development server |
| webpack-dev-middleware | Adds middleware support to webpack |
| webpack-hot-middleware | Adds hot reloading to webpack |
Overall
Maintained
Code review
Latest release
Releases this year
37 followers · starred Nov 2017
68 followers · starred Mar 2018
34 followers · starred Jan 2017
227 followers · starred Jun 2017