Skip to content

State-initialization fixes

Compare
Choose a tag to compare
@tdumitrescu tdumitrescu released this 05 Jun 19:56
· 268 commits to master since this release
  • Component state is now initialized with the defaultState config value in the constructor, ensuring that default values are set even before the element is attached to the DOM
  • State updates within child components made before they enter the component tree are automatically flushed up to the shared state when the child is attached. (This now matches the existing behavior of the appState partial shared state mechanism.)