bs-next
v3.0.0
Published
Reason bindings for Next.js
Downloads
20
Maintainers
Readme
bs-next
Reason bindings for Next.js v6.
API
Bindings are provided for the only two components provided by Next.js:
Example
let component = ReasonReact.statelessComponent("Index");
let make = (_children) => {
...component,
render: (_self) =>
<div>
<Next.Head>
<title> (ReasonReact.stringToElement("My Page Title")) </title>
</Next.Head>
<Next.Link href="/about">
<a> (ReasonReact.stringToElement("About")) </a>
</Next.Link>
</div>
}