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
- Host: GitHub
- URL: https://github.com/ulrikstrid/bs-next
- Owner: ulrikstrid
- License: mit
- Created: 2017-08-27T17:28:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-22T17:30:39.000Z (almost 8 years ago)
- Last Synced: 2025-03-27T03:41:30.591Z (12 months ago)
- Topics: nextjs, react, reason-react, reasonml
- Language: OCaml
- Size: 97.7 KB
- Stars: 34
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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) =>
}
```