Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test HMR with Rescript #37

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Test HMR with Rescript #37

wants to merge 1 commit into from

Conversation

Judahmeek
Copy link
Contributor

@Judahmeek Judahmeek commented Apr 28, 2022

This change is Reviewable

"rescript-classnames",
"rescript-debounce-react",
"rescript-logger",
"bs-webapi"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably need only "@rescript/react for such test.

"suffix": ".bs.js",
"bsc-flags": [
"-open Belt",
"-open Cx"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed, unless you plan to use rescript-classnames.

"-open Cx"
],
"ppx-flags": [
"rescript-logger/ppx"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed, unless you plan to userescript-logger.

@justin808
Copy link
Member

@Judahmeek @mrtnzlml Should we add this to the example app?

@mrtnzlml
Copy link
Contributor

mrtnzlml commented Jun 4, 2022

@Judahmeek @mrtnzlml Should we add this to the example app?

@justin808 I think the example with TypeScript is an excellent choice for the general public, and there is no need to complicate it with ReScript. For this reason, I'd say no.

@mrtnzlml
Copy link
Contributor

mrtnzlml commented Jun 4, 2022

Also, you have this which I think is a much better place for such an example: https://github.com/shakacode/rescript-react-on-rails-example 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants