@react-nano/redux-dynamic-modules
v0.15.0
Published
[![License](https://flat.badgen.net/github/license/lusito/react-nano?icon=github)](https://github.com/Lusito/react-nano/blob/master/LICENSE) [![Minified + gzipped size](https://flat.badgen.net/bundlephobia/minzip/@react-nano/redux-dynamic-modules?icon=doc
Downloads
19
Readme
@react-nano/redux-dynamic-modules
Making redux-dynamic-modules more lightweight by using @react-nano/redux
instead of react-redux
.
Written in TypeScript.
Why Use @react-nano/redux-dynamic-modules?
- Very lightweight (see the badges above for the latest size).
- It still uses redux-dynamic-modules(-core) under the hood (as a peer dependency), so you'll stay up to date with the latest features and bugfixes!
- All it does is supply a different
DynamicModuleLoader
component which leverages the power of hooks in combination with@react-nano/redux
. - All other imports can be taken from
redux-dynamic-modules-core
instead ofredux-dynamic-modules
. - Only has four peer dependencies:
- React 17.0.0 or higher
- Redux 4.0.0 or higher
- @react-nano/redux in the same version
- redux-dynamic-modules-core 5.0.0 or higher
- Liberal license: zlib/libpng
Note: Since this library uses @react-nano/redux
, your code also needs to be using @react-nano/redux
(otherwise you'd be using redux-dynamic-modules
).
How to Use
Check out the documentation
Report Issues
Something not working quite as expected? Do you need a feature that has not been implemented yet? Check the issue tracker and add a new one if your problem is not already listed. Please try to provide a detailed description of your problem, including the steps to reproduce it.
Contribute
Awesome! If you would like to contribute with a new feature or submit a bugfix, fork this repo and send a pull request. Please, make sure all the unit tests are passing before submitting and add new ones in case you introduced new features.
License
@react-nano has been released under the zlib/libpng license, meaning you can use it free of charge, without strings attached in commercial and non-commercial projects. Credits are appreciated but not mandatory.