Skip to content

React v18 and Redux v5 Updates - Stable

Compare
Choose a tag to compare
@utku-ozturk utku-ozturk released this 27 Aug 13:01
· 34 commits to master since this release
fd0221c

What's Changed

  • Redux v4 to v5 has breaking changes regarding calling the store's dispatcher functions. Since SMaHT and CGAP work with v4, we added new isLegacy params to the setStore of the Alerts module. 4DN currently passes the value to leverage v5; SMaHT and CGAP will continue to work as is.
  • defaultProps in React.memo became obsolete and will not be supported in React's next major release (19 or later). defaultProps are replaced with default JS parameters.

Full Changelog: 0.1.88...0.1.89