(EARLY BETA)
About - Install - API - License - Icon Credit
@rbxts/crate
is a small, smart, and easy to use state system for roblox-ts.
npm i @rbxts/crate
- Added second parameter to copy object passed to
.update()
. #1 - Fixed issue with equality check on update. #3
- Fixed
.get()
type issue with key.
- Internal state is fully immutable.
- Removed
reset()
method. onUpdate()
callback is no longer invoked if the state doesn't truly change.- Type fixes.