Skip to content

Releases: TwanLuttik/simple-core-state

0.0.8 - last few changes before full release

03 Sep 07:30
Compare
Choose a tag to compare

[changed] moved instance.storage.persist() to instance.persist() to make it easier to access
[changed] changed the config name from { Storage: {} } to lowercase { storage: {} }
[added] Support for setting a custom prefix key for the storage new SimpleStorage({}, { storage: { prefix: 'customPrefix' } })
[changed] updated/changes a few typings

This library is most likely ready for the full release pretty soon

0.0.7 - small one

29 Aug 04:56
Compare
Choose a tag to compare
0.0.7 - small one Pre-release
Pre-release

[changed] Update the docs due to previous update with the new changes
[fix] Fixed typings on core.value.patch()

0.0.6 - Mostly stable & Update towards a full release

28 Aug 06:56
Compare
Choose a tag to compare

Changes in this release:

[added] core.value.reset() reset to its original value from the default core value
[changed] core.value.setValue() to core.value.set() to make it more short and simple to write

Over the course of the last week or 2 I have mostly fixed the previous todo's. I probably have a final release very soon out and will make more small features after it such as:

  • A integration for storage librarys as for react-native like react-native-mmkv-storage, AsyncStorage
  • State history
  • And other features if requested

0.0.1 - First release

20 Aug 04:03
Compare
Choose a tag to compare
0.0.1 - First release Pre-release
Pre-release

Feel free to checkout the readme i quickly wrote up, i have put out which i will make more explained when i work towards a fully working library. The following tasks i need to do to make this library working to its needs as for React / React Native is:

  • Make the storage work with react native for async storage or MMKV or a custom get and set function for other libraries if people wanna add to it
  • Make typings work on the useSimple() hook
  • What if we are not adding a type as generic, can we make a alternative way to supply specific typings for the core