Skip to content

Conversation

@agubler
Copy link
Member

@agubler agubler commented Jul 18, 2019

Type: feature

The following has been addressed in the PR:

Description:

The properties and children are injected one time into both middleware and widgets. With middleware it is easy to destructure the properties outside of the middleware API meaning that when it is used in subsequent renders it will be the stale properties from the first render.

This changes the properties and children to be functions which is clearer to users that it needs to be called on demand to get the latest properties/children.

Related to #349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants