-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There were a few places where we incorrectly used view.someProp to retrieve a prop value, and then did something with the value. This will _always_ result in the first value being returned, even in cases where multiple plugins provide a value for the prop, and only some of them are relevant at the callsite. Instead, we now pass a function to view.someProp that only returns a truthy value when it has found a prop provider that provides the relevant value, so that we can fallback through the entire list of plugins.
- Loading branch information
1 parent
c90da83
commit d6ea3ad
Showing
5 changed files
with
29 additions
and
257 deletions.
There are no files selected for viewing
28 changes: 14 additions & 14 deletions
28
docs/assets/index-7c1043a3.js → docs/assets/index-474d9858.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters