This repository has been archived by the owner on Feb 14, 2023. It is now read-only.
Releases: CharlesStover/reactn
Releases · CharlesStover/reactn
0.1.1
Features
-
Adds
resetGlobal
as a helper function. #2 -
Adds
setGlobal
as a second parameter to thewithGlobal
HOC. #13
const GlobalComponent = withGlobal(
(global, props) => null,
(setGlobal, props) => null
)(LocalComponent);
This is analogous to state
/dispatch
and mapStateToProps
/mapDispatchToProps
as used in the react-redux
package.
Bug Fix
- Fixes unnecessary re-renders that were occurring on some occasions. #21
Miscellaneous
-
Unit test for
createReducer
added. -
Unit tests for component methods prepped.
-
Unit tests for helper functions prepped.