All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- fix: resolve react and react-dom dependency conflicts
- Fix type definitions for ESM and formally remove cjs support
- Updated all dev dependencies and tooling
- Fixed export paths for production build
- Prettier code formatting
- useAutosave will not fire the
onSave
callback if the definition ofonSave
changes
- A toggle to cancel saving on unmount
saveOnUnmount
- The ability to save falsy values
- Dev page using vite to preview current build
- React 18 support
- Package builds using vite
- Switched to PNPM
- Test run using vitest
- All dependencies bumped to latest version
- A tool-versions file to track node version with asdf
- Bumped the project to node 16.13.0
- Fixed "Main" and "Module" path in package.json to prevent warnings in node 16
- Linting and format checking.
- Hook and component both fire on unmount with current, not debounced, value.
- Test coverage report.
- lodash dependency.
useAutosave
hook.
<Autosave>
component.- Readme.