Fix MDX README typo (#7567)
This commit is contained in:
parent
5ffdec7580
commit
4aecebae26
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ function _createMdxContent() {
|
|||
|
||||
This results in fewer JSX nodes, less compiled JS output, and less parsed AST, which results in faster Rollup builds and runtime rendering.
|
||||
|
||||
To acheive this, we use an algorithm to detect `hast` subtrees that are entirely static (containing no JSX) to be inlined as `set:html` to the root of the subtree.
|
||||
To achieve this, we use an algorithm to detect `hast` subtrees that are entirely static (containing no JSX) to be inlined as `set:html` to the root of the subtree.
|
||||
|
||||
The next section explains the algorithm, which you can follow along by pairing with the [source code](./rehype-optimize-static.ts). To analyze the `hast`, you can paste the MDX code into https://mdxjs.com/playground.
|
||||
|
||||
|
|
Loading…
Reference in a new issue