velopert / sangte Goto Github PK
View Code? Open in Web Editor NEWSangte is a fancy React state management library.
License: MIT License
Sangte is a fancy React state management library.
License: MIT License
By default, state is removed when no component is referencing it.
Therefore, state can be lost unexpectedly when the state is used from page A and B, and user redirects the page from A to B.
To fix this issue, these options should be implemented in config.
cleanupTimeout
: the state should be removed after this timeout. by default, set this to 1000,
preserve
: this option will preserve the state even when the state is not referenced from any component.
As a Korean, I really liked the name sangte
since it just makes sense.
However, after putting myself into foreign developers' shoes, I thought that they might not like it because they are not used to this word.
Thus, I am planning to change the name as below. I need some feedback! Should I go for it? Or stick with the current naming?
sangte -> atom
useSangte -> useAtom
useSangteActions -> useAtomActions
useSangteValue -> useAtomValue
useSetSangte -> useSetAtom
useSangteStore -> useAtomStore
useSangteCallback -> useAtomCallback
useResetSangte -> useResetAtom
useResetAllSangte -> useResetAllAtoms
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.