Skip to content

Commit 52f3f05

Browse files
committed
Fix links from native
1 parent 717d088 commit 52f3f05

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

packages/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license": "ISC",
88
"description": "",
99
"scripts": {
10-
"dev": "next dev",
10+
"dev": "next dev -p 3456",
1111
"build": "next build",
1212
"start": "next start"
1313
},

packages/website/pages/getting-started/native.mdx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Getting Started - OCaml
3-
showAllLanguage: false
3+
showAllLanguage: true
44
---
55

66
import { Callout } from "nextra/components";
@@ -135,7 +135,7 @@ module Page = {
135135

136136
## A note on missing classNames
137137

138-
If you're using dynamic CSS values, such as [dynamic-components](./dynamic-components) or [interpolation](./interpolation) based on runtime values, you would need to evaluate your app before extracting all the CSS. Let me explain it with a simple example:
138+
If you're using dynamic CSS values, such as [dynamic-components](../reference/dynamic-components) or [interpolation](../reference/interpolation) based on runtime values, you would need to evaluate your app before extracting all the CSS. Let me explain it with a simple example:
139139

140140
```reason
141141
module App = {
@@ -187,15 +187,6 @@ If you don't want to render the stylesheet directly, you can use `CSS.get_styles
187187

188188
To make sure hydration works, you would need the following `<style/>` tag:
189189

190-
```ocaml
191-
React.createElement "style"
192-
[
193-
Bool ("data-s", true);
194-
String ("data-emotion", "css " ^ CSS.get_string_style_hashes ());
195-
DangerouslyInnerHtml (CSS.get_stylesheet ());
196-
]
197-
[]
198-
```
199190
```reason
200191
React.createElement("style",
201192
[

0 commit comments

Comments
 (0)