diff --git a/examples/with-reasonml/bsconfig.json b/examples/with-reasonml/bsconfig.json index 13dd3ae1..30030a72 100644 --- a/examples/with-reasonml/bsconfig.json +++ b/examples/with-reasonml/bsconfig.json @@ -1,7 +1,7 @@ { "name": "with-reasonml", "sources": ["components", "pages"], - "bs-dependencies": ["reason-react"], + "bs-dependencies": ["reason-react", "bs-next"], "reason": { "react-jsx": 2 }, "package-specs": ["commonjs"], "bsc-flags": [ diff --git a/examples/with-reasonml/components/Header.re b/examples/with-reasonml/components/Header.re index 737a07ea..7d02472f 100644 --- a/examples/with-reasonml/components/Header.re +++ b/examples/with-reasonml/components/Header.re @@ -6,7 +6,11 @@ let make = (_children) => { ...component, render: (_self) =>
- (ReasonReact.stringToElement("Home")) - (ReasonReact.stringToElement("About")) + + (ReasonReact.stringToElement("Home")) + + + (ReasonReact.stringToElement("About")) +
-}; \ No newline at end of file +}; diff --git a/examples/with-reasonml/package.json b/examples/with-reasonml/package.json index 7d45ce29..91a7052f 100644 --- a/examples/with-reasonml/package.json +++ b/examples/with-reasonml/package.json @@ -12,7 +12,8 @@ "next": "latest", "react": "^16.1.1", "react-dom": "^16.1.1", - "reason-react": "^0.3.0" + "reason-react": "^0.3.0", + "bs-next": "^2.0.0" }, "devDependencies": { "bs-platform": "^2.1.0",