-
Notifications
You must be signed in to change notification settings - Fork 49.1k
Closed
Labels
Status: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug

Description
Good Afternoon,
I would like to suggest this:
When we use contexts with provider/consumer, this is a good feature but in some scenarios you just want to trigger the consumer in specific conditions
This ticket is about to request a feature where we can have the ability to define filters in our consumer, and based on these filters the consumer will be triggered or not when the provider changes the value
Why ?
- Performance boost (because this only will re-render the consumer based on the filters)
- Usability (we can design better apps and decrease the unnecesary re-renders)
Example
i have a context to manage elements, but i just want to re-render based on the ID
Metadata
Metadata
Assignees
Labels
Status: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug