branchreact-class-model/mastercancel
23 Commits over 1,430 Days - 0.00cph!
Bump to v0.0.16
Add a special field to proxied values returned by useModel and watchModel in case anyone needs to bypass the proxy
Improved typings to make it more clear when a return value is a proxy
Bump to v0.0.15
Test fixes
Track which fields are accessed while rendering so that we can do more targetted UI refreshes
Bump to v0.0.13
Fix errors in environments where 'window' is not defined
Bump to version v0.0.12
Enable strict null checks and fix issues
defineModel can now take the model class as an argument - this is preferred because it will set the context's displayName to align with the model
useModel will now throw an error if there was no provider for the model
watchModel will handle null/undefined values now
Bump to v0.0.10
Actually switch to using commonJS...........
Bump to v0.0.9
Change to using commonJS to hopefully fix import errors in some projects
Make watchModel support watching an array of models as an overload
Bump to v0.0.8
Support serializing and deserializing Map<string,T> values
Fix fields not being copied over from model instances
Bump to v0.0.6
Bump to v0.0.5
Skipped 0.0.4 cause it got messed up on npm
Add docs for the new setupSerialization options
Replacing serialization binder/field mapping logic with straight serialize/deserialize functions
Add unit tests for some things to make things easier
Bump to version 0.0.3
Updated dependencies to make more sense for people using the package
Add in some TSDoc documentation for most public things because I've forgotten what some things did over time
Fix type error in equals()
Switch dependencies to peerDependencies, version bump
Add an example to the readme because theres no other info on how to use this