diff --git a/apps/docs/docs/learn/03-installation.mdx b/apps/docs/docs/learn/03-installation.mdx index 577d7f0bc..b75fd15e2 100755 --- a/apps/docs/docs/learn/03-installation.mdx +++ b/apps/docs/docs/learn/03-installation.mdx @@ -21,12 +21,12 @@ All uses of StyleX require the runtime package to be installed. ## Compiler -The recommended way to use StyleX in development and production is with the +The recommended way to use StyleX in both development and production is with the build-time compiler. ### Development -For development, you need only to configure the Babel plugin so that styles are +For development, you only need to configure the Babel plugin so that styles are processed at compile-time. The plugin will compile styles and insert runtime style injection code into your JavaScript modules. diff --git a/apps/docs/docs/learn/04-styling-ui/02-using-styles.mdx b/apps/docs/docs/learn/04-styling-ui/02-using-styles.mdx index 1282a41a9..18fd83c03 100755 --- a/apps/docs/docs/learn/04-styling-ui/02-using-styles.mdx +++ b/apps/docs/docs/learn/04-styling-ui/02-using-styles.mdx @@ -163,7 +163,7 @@ codebase. ### Accepting styles in components -Accepting custom `StyleXStyles` is as simple as accepting any other prop. and +Accepting custom `StyleXStyles` is as simple as accepting any other prop and applying it with the `stylex.props` function. Just like local styles. ```tsx