@nx/react:redux
Create a Redux state slice for a React project.
Monorepo World: October 7, 2024Monorepo World: October 7, 2024Join us!
Create a Redux state slice for a React project.
1nx generate redux ...
21nx g slice ... #same
2By default, Nx will search for redux in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/react:redux ...
2Show what will be generated without writing to disk:
1nx g redux ... --dry-run
2Path where the Redux slice will be generated.
Redux slice name.
The application project to add the slice to.
falseGenerate JavaScript files rather than TypeScript files.
Join us live for exciting talks on developer tooling and monorepos! Catch the action on YouTube and join the conversation on Discord!