Releases: react18-tools/react18-global-store
Releases · react18-tools/react18-global-store
Release v1.1.2-alpha.1
What's Changed
- Rewrite by @mayank1513 in #27
- style: format code with Prettier by @deepsource-autofix in #28
Full Changelog: 1.1.1...1.1.2-alpha.1
Release v1.1.2-alpha.0
What's Changed
- Rewrite by @mayank1513 in #27
- style: format code with Prettier by @deepsource-autofix in #28
Full Changelog: 1.1.1...1.1.2-alpha.0
Release v1.1.2
What's Changed
- Rewrite by @mayank1513 in #27
- style: format code with Prettier by @deepsource-autofix in #28
- Alpha by @mayank1513 in #29
Full Changelog: 1.1.1...1.1.2
Release 1.1.1
Patch Changes
- Refactor to reduce minzip size
What's Changed
- Minify by @mayank1513 in #26
Full Changelog: 1.1.0...1.1.1
Release 1.1.0
Minor Changes
- Support initializer function. Now you can initialize the RGStore by supplying a function in place of constant.
What's Changed
- Feat/support initializer by @mayank1513 in #25
Full Changelog: 1.0.2...1.1.0
Release 1.0.2
Patch Changes
- Refactor to reduce minzip size
What's Changed
- Minify by @mayank1513 in #24
Full Changelog: 1.0.1...1.0.2
Release 1.0.1
Patch Changes
- Fix SSR build
What's Changed
- style: format code with Prettier by @deepsource-autofix in #22
- Fix SSR build by @mayank1513 in #23
Full Changelog: 1.0.0...1.0.1
Release 1.0.0
Completed Tasks
- Removed
serverValue
as it is irrelevant in this context. - Refactored code for better minification.
- Added options to (and renamed) the
persist
plugin (or middleware). - Updated documentation.
- Updated license to MPL-2.0.
- Addressed potential user concerns:
- What if a user wants to use
useRGSWithPlugin
in multiple components? - UtilizedoNotInit
, the fourth argument of the hook. - What if a user wants to provide an initial value from within the component but define the hook using the
create
function? - EmploywithPlugins
higher-order function.
- What if a user wants to use
To-do [help needed]
- fix doc comments for
withPlugins
Major Changes
- Removed
serverValue
field as it should always be same asvalue
. For more details please check out documentation of useSyncExternalStore hook provided by react.
Minor Changes
- Added persist plugin to create state that is persisted and synced between browser contexts.
- Added
useRGSWithPlugins
hook to support extending the store functionality with plugins.
Patch Changes
- Refactored to reduce bundle size and improve stability and reduce likelyhood of bugs.
What's Changed
- Refactor by @mayank1513 in #20
Full Changelog: 0.2.0...1.0.0
Release 0.2.0
r18gs
0.2.0
Minor Changes
- 81b9d3f: Make the library extensible with plugins
Patch Changes
- Add Persist and Sync plugin
0.1.4
Patch Changes
- Fix ESM builds
0.1.3
Patch Changes
- Quick Fix the build setup and fix library issues.
0.1.2
Patch Changes
- Improve minification
0.1.1
Patch Changes
- Refactor without changing the exposed APIs. Some libraries using internal APIs may face temporary issues.
0.1.0
Minor Changes
- Remove client side hooks. Now this store works well with server components as well. Though, server side use is tricky and not recommended yet.
0.0.5
Patch Changes
- Fix Typescript error
0.0.4
Patch Changes
- Fix getServerSnapshot errors on some projects.
0.0.3
Patch Changes
- Fix exports; improve examples; Update README
0.0.2
Patch Changes
- Export SetStateAction and SetterArgTypes for better documentation and ease of use for other TS projects.
0.0.1
Patch Changes
- Fix publish setup
What's Changed
- Plugins by @mayank1513 in #18
Full Changelog: v0.1.4...0.2.0
Release v0.1.4
Full Changelog: v0.1.3...v0.1.4