Skip to content

StoreProvider should be configured to always render #188

@agubler

Description

@agubler

Bug

StoreProvider uses a render property that describes the widgets to render when it renders.

This works fine when the StoreProvider is invalidated by the store. However if the parent component is invalidated and passes a different property to the nodes in the render property, the components does not re-render.

This codesandbox that demonstrates the issue. Click "Update Messageand notice that the message doesn't change, then click "Invalidate Store" to see that the message is finally updated because theStoreProvider` widget is invalidated by the store.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnextIssue/Pull Request for the next major version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions