Skip to content

Commit

Permalink
codesplit docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zth committed Jul 28, 2024
1 parent 9b5c0e1 commit 1454334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rescript-relay-documentation/docs/codesplit-directive.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ let make = (~blogPostId) => {
}
```

> Read more about the [`@alias` directive here](docs/alias). Using it is not required when not using `@codesplit`, but it's used here to make the next diff easier to understand.
> Read more about the [`@alias` directive here](using-fragments.md#conditional-fragments-and-more-with-the-alias-directive). Using it is not required when not using `@codesplit`, but it's used here to make the next diff easier to understand.
There, we're rendering a blog post! However, we have a problem here. The `<BlogPostMarkdownRenderer />` is heavy code-wise, since it ships an entire markdown parser and renderer. We don't want to load that code unless the content for that blog post is actually markdown.

Expand Down

0 comments on commit 1454334

Please sign in to comment.