diff --git a/apps/docs/docs/learn/06-recipes/01-context-driven-styles.mdx b/apps/docs/docs/learn/06-recipes/01-context-driven-styles.mdx index b336c8e8..1ee36b8f 100644 --- a/apps/docs/docs/learn/06-recipes/01-context-driven-styles.mdx +++ b/apps/docs/docs/learn/06-recipes/01-context-driven-styles.mdx @@ -16,8 +16,8 @@ StyleX lets you apply styles conditionally. Any condition can be used to do so, The React Context API (and other similar APIs) can be used to avoid prop-drilling and provide conditions that child component can read and apply styles conditionally. -Context can help reduce prop-drilling by sharing state across components. This can often -an alternative to using descendent selectors where the same results can be achieved +Context can help reduce prop-drilling by sharing state across components. This can often be +an alternative to using descendent selectors, as the same results can be achieved *without* "styling at a distance". For example, you can manage the open or closed state of a sidebar using React Context