rescript-nextjs-template icon indicating copy to clipboard operation
rescript-nextjs-template copied to clipboard

adding the example to nextjs

Open Deep-Codes opened this issue 4 years ago • 7 comments

Hey!

is it possible to add this example in nextjs/examples

There seems to be no example for rescript.

Deep-Codes avatar Apr 06 '21 07:04 Deep-Codes

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

ghost avatar Apr 06 '21 11:04 ghost

Yep correct

Deep-Codes avatar Apr 06 '21 13:04 Deep-Codes

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)

jihchi avatar Apr 07 '21 06:04 jihchi

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 avatar May 06 '21 04:05 ryyppy

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.

ryyppy avatar May 07 '21 17:05 ryyppy

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

@zth - Maybe you can help with this?

danwetherald avatar Jun 09 '21 19:06 danwetherald

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

ryyppy avatar Jun 10 '21 06:06 ryyppy