rescript-next

    10.0.0-alpha.1 • Public • Published

    rescript-next

    Sponsoring button

    GitHub package.json version npm downloads GitHub Workflow Status License
    GitHub followers Twitter Follow Sponsor my work

    ReScript bindings for Next.js.

    Exposed as Next module.

    rescript-next X.y.* means it's compatible with next X.y.*

    Installation

    When Next.js is properly installed & configured by following their installation instructions, you can install the bindings:

    npm install rescript-next
    # or
    yarn add rescript-next

    rescript-next should be added to bs-dependencies in your bsconfig.json:

    {
      //...
      "bs-dependencies": [
        "@rescript/react",
        // ...
    +    "rescript-next"
      ],
      //...
    }

    Supported modules and features

    • next/dynamic
    • next/error
    • next/head
    • next/image
    • next/link
    • next/router (on, off, push, replace)
    • getStaticProps and getServerSideProps

    Usage

    Check out the source file to discover the API.


    Changelog

    Check the changelog for more informations about recent releases.


    Contribute

    Read the contribution guidelines before contributing.

    Code of Conduct

    I want this community to be friendly and respectful to each other. Please read my full code of conduct so that you can understand what actions will and will not be tolerated.

    Install

    npm i rescript-next

    DownloadsWeekly Downloads

    0

    Version

    10.0.0-alpha.1

    License

    MIT

    Unpacked Size

    8.84 kB

    Total Files

    6

    Last publish

    Collaborators

    • moox