Skip to content

Releases: IpShot/flex-reducer

v1.0.6

17 Jul 13:32
Compare
Choose a tag to compare

Update Readme. Fix security vulnerability with lodash version.

v1.0.5

12 Jul 10:33
Compare
Choose a tag to compare

Add checking for use more than one useFlexReducer with the same reducer name at the same render.

v1.0.4

12 Jul 09:59
Compare
Choose a tag to compare

Fix useFlexReducer error when use server side rendering or hot module replacement.

v1.0.3

10 Jul 04:28
Compare
Choose a tag to compare

As we don't use useLayoutEffect on initial render anymore, but only on unmount we can change it to just useEffect.

v1.0.2

09 Jul 07:36
Compare
Choose a tag to compare

Moved out uniqueType util to its own package.

v1.0.1

09 Jul 04:27
Compare
Choose a tag to compare

This release improves the way Flex Reducer managing current components dispatches. Before regular Object was used, but it had 2 problems:

  1. Object doesn't guarantee an order of keys/insertions. At some point it could result in breaking sequence of renders from ancestors to descendants.
  2. Object isn't designed for frequently insert/remove operations as useSelector do on every component mount/unmount. Potentially it could lead to performance issues in some cases like using useSelector in a list item component where the list size is hundreds of items.

To solve this issues Object was changed to Map.

v1.0.0

08 Jul 11:11
Compare
Choose a tag to compare

The first initial release.