UNPKG

@paprika/seducer

Version:

Seducer (simple reducer) is a wrapper on top of React.useReducer, making it easier to use

74 lines (37 loc) 1.4 kB
# Changelog ## 2.0.4 ### Patch Changes - d60fb99: peerDependencies now include react@17 and react@18 ## 2.0.4-next.0 ### Patch Changes - d60fb99: peerDependencies now include react@17 and react@18 ## 2.0.3 ### Patch Changes - ff8eae9: Enable webpack tree shaking ability. ## 2.0.3-next.0 ### Patch Changes - ff8eae9: Enable webpack tree shaking ability. ## 2.0.2 ### Patch Changes - 445c77d: fix minification issues when creating actionTypes ## 2.0.2-next.0 ### Patch Changes - 445c77d: fix minification issues when creating actionTypes ## 2.0.1 ### Patch Changes - 9f4c925: Update documentation with proper collapsible card ## 2.0.1-next.0 ### Patch Changes - 9f4c925: Update documentation with proper collapsible card All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] ## [2.0.0] ### Changed - Add lib/index in package.json allowing to importing useSeducer and useSeducerWithContext correctly ## [1.0.3] - 2020-12-11 - Updated: initialState by default is an object `{}` ## [1.0.2] - 2020-12-01 - Updated: Forgot to add displayName on Provider as options prop. [@nahumzs](https://github.com/nahumzs). ## [1.0.1] - 2020-12-01 - Updated: Now { Provider } has optional value and typescript will not complain. [@nahumzs](https://github.com/nahumzs).