bs-next

3.0.0 • Public • Published

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>
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.0.0
    0
  • 2.0.0
    1
  • 1.1.0
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i bs-next

Weekly Downloads

3

Version

3.0.0

License

MIT

Unpacked Size

146 kB

Total Files

7

Last publish

Collaborators

  • ulrikstrid