kibana/examples/state_containers_examples
Anton Dosov 26b5cd89c2
[State Management] State containers improvements (#54436) (#54562)
Some maintenance and minor fixes to state containers based on experience while working with them in #53582

Patch unit tests to use current "terminology" (e.g. "transition" vs "mutation")
Fix docs where "store" was used instead of "state container"
Allow to create state container without transition.
Fix freeze function to deeply freeze objects.
Restrict State to BaseState with extends object.
in set() function, make sure the flow goes through dispatch to make sure middleware see this update
Improve type inference for useTransition()
Improve type inference for createStateContainer().

Other issues noticed, but didn't fix in reasonable time:
Can't use addMiddleware without explicit type casting #54438
Transitions and Selectors allow any state, not bind to container's state #54439
2020-01-13 14:12:25 +01:00
..
public [State Management] State containers improvements (#54436) (#54562) 2020-01-13 14:12:25 +01:00
kibana.json
package.json
tsconfig.json