Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.07 KB

README.md

File metadata and controls

47 lines (38 loc) · 1.07 KB

Crate

(EARLY BETA)


About - Install - API - License - Icon Credit

About

@rbxts/crate is a small, smart, and easy to use state system for roblox-ts.

Install

npm i @rbxts/crate

Updates

v0.0.5

  • Added second parameter to copy object passed to .update(). #1
  • Fixed issue with equality check on update. #3

v0.0.4

  • Fixed .get() type issue with key.

v0.0.3

  • Internal state is fully immutable.
  • Removed reset() method.
  • onUpdate() callback is no longer invoked if the state doesn't truly change.
  • Type fixes.