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 prefer Config Recipes, so it is not convenient for me to use patterns as stated in the docs. However, I like the idea that patters "reduce repetition and improve readability". So I would like to use them in recipes. I found out the following solution:
Another confusion for me is that we can't use layerStyles in recipes, however, we're able to use textStyles. In my mental model, patterns and layerStyles are related concepts. Even docs provides an example with a container, which is also a pattern. Therefore, it's unclear when to use what.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I prefer Config Recipes, so it is not convenient for me to use patterns as stated in the docs. However, I like the idea that patters "reduce repetition and improve readability". So I would like to use them in recipes. I found out the following solution:
However, this is undocumented. Is this correct?
Another confusion for me is that we can't use
layerStyles
in recipes, however, we're able to usetextStyles
. In my mental model,patterns
andlayerStyles
are related concepts. Even docs provides an example with acontainer
, which is also apattern
. Therefore, it's unclear when to use what.Beta Was this translation helpful? Give feedback.
All reactions