Releases: microsoft/redux-dynamic-modules
Releases · microsoft/redux-dynamic-modules
Introducing retained flag in modules so they are retained even when the component is unmounted
Introducing retained flag in modules so they are retained even when the component is unmounted
Latest
Introduced a retained flag in IModule that is respected by the RefCounter to keep the module for infinity.
#76: We were not applying ALL of the context values that were provided from ReactReduxContext, so do that here.
When using the createStore prop, we were not providing a modified context to the first connected component. Now, if we call createStore and render a Provider, we will render another instance of DynamicModuleLoader, which will actually add the modules.
While writing this PR, I also decided to simplify the component by removing support for react-redux@5
v3.5.0 with support for React StrictMode
- We now support React StrictMode. If you render DynamicModuleLoader within a React.StrictMode component, make sure to supply the strictMode={true} prop. Note that DynamicModuleLoader will render twice because it now adds the modules after mount.
- We also fixed an error where modules where not unloaded in reverse order of add.
- Other various bug fixes.
Note: This is the first time we are trying to add release notes using Publish Release, fingers crossed everything goes well :).