You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't really see where in the code but it seems like prop.init's logic is using an || to apply the default where it probably should be a ??
In the reka demo, I set a new prop showTitle and set it to true by default, I then use this to conditionally show the title
If I want to set that to false and hide the title, showTitle still evaluates to true
I tried to look for where prop.init is being used here but I couldn't find it, I'll keep digging and am happy to contribute a PR for this once I find this.
The text was updated successfully, but these errors were encountered:
I can't really see where in the code but it seems like
prop.init
's logic is using an||
to apply the default where it probably should be a??
In the reka demo, I set a new prop
showTitle
and set it totrue
by default, I then use this to conditionally show the titleIf I want to set that to false and hide the title,
showTitle
still evaluates to trueI tried to look for where
prop.init
is being used here but I couldn't find it, I'll keep digging and am happy to contribute a PR for this once I find this.The text was updated successfully, but these errors were encountered: