Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@christoph-fricke christoph-fricke released this 13 Mar 15:53

Features

  • provide the current value to the React devtools with the useDebugValue hook
  • Add a commit(state?: V): void function to the return value
    • Sets the current value or provided state argument as a save point
    • The initial save point is the initial value
  • Calling reset will reset the value to the latest save point

Documentation

  • Updated badges and badge provider
  • Documentation for the new commit feature

Internal

  • Remove .md extension from the LICENSE file
  • Update dev dependencies