Releases: kalispera/jsx-directive-react-state
Releases · kalispera/jsx-directive-react-state
v0.2.1
v0.2.0
v0.1.2
0.1.2 (2017-12-03)
Bug Fixes
- package: update all dependencies (859f00c)
- package: update firebase to version 4.7.0 (980cf89)
- transformStateOptions: fix typo (1b29fdb)
Features
- add support for multiple state type providers (85334f8)
- finalize first release (8a87640)
- initial implementation (12c7d95)
- session: allow setting of arrays (8c2d8fe)
- StateProviderDirective: apply providers in the order they have been registered (6080a07)
- StateProviderDirective: blindly add any provider (46d4ffc)
- transformStateOptions: implement dsl for shorter state declarations (d97bbe2)
- transformStateOptions: remove features alias and multiple (5f9964a)
BREAKING CHANGES
- State definitions must now follow this shape:
{
"scope": {
"type": "session",
"initialState": {}
}
}
- transformStateOptions: colons and semicolons are invalid tokens in state descriptors.
Migration:
Instead of<div state="bar:foo/bar;setBar:set(foo/bar)" />
,
please use<div bar:state="foo/bar" setBar:state="set(foo/bar)" />