

If you wish to generate Redux code in the duck pattern, add this parameter - else regular React code will be generated. If you wish to generate code for React-Native, add this parameter - else React web code will be generated. This is the relative directory where the generated component will be placed (e.g src/components). This is the lower kebab case name of the feature/component you would like to generate (e.g. Npm run gen-react-code -n example-component -d src/example/dir -r Command Parameter Description: Parameter To install and save this npm package, navigate to your project's root directory in console and execute the following command: This package assumes the use of enzyme and jest for React testing.This package assumes the use of Redux-Thunk as a Redux middleware.This package assumes the use of sass for React web projects.That way users would not have to specify these parameters every time they wish to generate code. This package also allows users to add a configuration file containing default parameters. This generated code conforms to the Air BnB style guide's naming and coding-styleĬonventions, and it is thus highly recommended to make use of this tool when creating new React or React-Redux components. Generate the Redux core files needed for React-Redux projects ( store, root-reducer, and action-utilities). Because who likes writing that themselves?!Īdditionally, it can be used to generate Redux code conforming to the Redux ducks pattern - and it can also be used to

This project utilises a scaffolding framework which generates React or React-Native code along with all the essential
