Skip to content

Releases: quisido/use-force-update

1.0.6

23 Jun 18:53
Compare
Choose a tag to compare

Bug Fixes 🐛

Batched forceUpdate calls now update the correct number of times. #9 (Thanks @aleclarson, @latviancoder, and @ramblehead!)

1.0.3

28 Feb 15:32
Compare
Choose a tag to compare

Enhancements

  • Performance: useForceUpdate now returns useReducer's dispatch function to prevent a reference change on each render. #5

Miscellaneous

  • Added unit test to verify that forceUpdate accepts no parameters.

  • Added unit test to verify that forceUpdate returns undefined.