kibana/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
..
demo_search add examples/ to no-restricted-path config (#54252) (#54277) 2020-01-09 14:37:08 +03:00
embeddable_examples Embeddable examples on the platform and included with --run-examples flag (#52111) (#53190) 2019-12-16 17:45:26 -05:00
embeddable_explorer Embeddable examples on the platform and included with --run-examples flag (#52111) (#53190) 2019-12-16 17:45:26 -05:00
search_explorer Embeddable examples on the platform and included with --run-examples flag (#52111) (#53190) 2019-12-16 17:45:26 -05:00
state_containers_examples [State Management] State containers improvements (#54436) (#54562) 2020-01-13 14:12:25 +01:00
README.md

Example plugins

This folder contains example plugins. To run the plugins in this folder, use the --run-examples flag, via

yarn start --run-examples