UNPKG

use-immer

Version:
31 lines (17 loc) 1 kB
# 0.9.0 * Added Immer 10 support # 0.8.1 * Improved overloads of useImmerReducer, see #108. # 0.8.0 * Support React 18 * Added `exports` defininition to package.json, see #101 # 0.4.1 * Exported type for the updater function, `Updater<T>`. See [#53](https://github.com/immerjs/use-immer/pull/53) by [@hoilzz](https://github.com/hoilzz) # 0.4.0 * Improved performance, see [#50](https://github.com/immerjs/use-immer/pull/50) by [@sophibits](https://github.com/sophiebits) * Exposed utility type `ImmerHook`, see[#47](https://github.com/immerjs/use-immer/pull/47) by [@Plasmoxy](https://github.com/Plasmoxy) # 0.1.0 * Added typescript typings [#6](https://github.com/mweststrate/use-immer/pull/6) by [thisjeremiah](https://github.com/thisjeremiah) * Added support for `initialAction` parameter. Fixes [#3](https://github.com/mweststrate/use-immer/issues/3) through [#4](https://github.com/mweststrate/use-immer/pull/4) by [jezhi780625](https://github.com/yezhi780625) # 0.0.5 Initial release