ryyppy / rescript-nextjs-template

Opinionated Boilerplate for NextJS, Tailwind and ReScript
https://nextjs-default.ryyppy.now.sh
Apache License 2.0
407 stars 33 forks source link

adding the example to nextjs #37

Open Deep-Codes opened 3 years ago

Deep-Codes commented 3 years ago

Hey!

is it possible to add this example in nextjs/examples

There seems to be no example for rescript.

ghost commented 3 years ago

I would keep a very minimal example there, so that ReScript gets regression test coverage, but keep housing the full project here.

Deep-Codes commented 3 years ago

Yep correct

jihchi commented 3 years ago

FYI. I found there is an example of ReasonML & ReasonReact https://github.com/vercel/next.js/tree/canary/examples/with-reasonml

It would be great if we have an example for ReScript (rescript-react)

ryyppy commented 3 years ago

Oh... IMO the ReasonML template should be removed completely, since starting a NextJS / ReScript project with Reason is like writing a legacy codebase from scratch.

ryyppy commented 3 years ago

Okay, did my part and created two PRs to upgrade the examples:

Last one missing is reason-relay -> rescript-relay, but I have not used that one so far.

danwetherald commented 3 years ago

Last one missing is reason-relay -> rescript-relay, but I have not used that one so far.

@zth - Maybe you can help with this?

ryyppy commented 3 years ago

@dan003400 Already talked to Gabriel about this.. there's currently no bandwidth on his side to update that one