An open API service indexing awesome lists of open source software.

https://github.com/ulrikstrid/bs-next

BuckleScript bindings for next.js
https://github.com/ulrikstrid/bs-next

nextjs react reason-react reasonml

Last synced: 11 months ago
JSON representation

BuckleScript bindings for next.js

Awesome Lists containing this project

README

          

# bs-next

[Reason](https://reasonml.github.io) bindings for
[Next.js](https://github.com/zeit/next.js) v6.

## API

Bindings are provided for the only two components provided by Next.js:

* [`Next.Head`](https://github.com/zeit/next.js/tree/6.0.3#populating-head)
* [`Next.Link`](https://github.com/zeit/next.js/tree/6.0.3#with-link)

## Example

```reason
let component = ReasonReact.statelessComponent("Index");

let make = (_children) => {
...component,
render: (_self) =>



(ReasonReact.stringToElement("My Page Title"))


(ReasonReact.stringToElement("About"))


}
```