-
Notifications
You must be signed in to change notification settings - Fork 12
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
Migrating to ReScript #41
base: master
Are you sure you want to change the base?
Conversation
Hey @diogomqbm - thanks for making this pull request! We haven't really considered what migrating to rescript means for all these libraries, so I'm not sure what the implications will be for this library, the relude ecosystem as a whole, and users of these libraries. I think I'd like to see if anyone has any feedback on this before we consider merging it. |
We (Qwick) don't use |
So, we're using relude and relude-reason-react with ReScript at Walnut and it works just fine. The thing here is that there's no reason for us to have dependencies like reason-react since we've migrated to ReScript and @rescript/react. However, I don't know how this can impact those using melange/reason-react such as @johnhaley81. This can be a breaking change for the reason ecosystem. |
I would appreciate it if we had something like |
It does indeed seem like the React-specific side of the ecosystem is going to exist primarily with Rescript, and as this is a React-specific library, it doesn't make sense for us to continue to depend on the outdated A couple thoughts:
|
So, I don't know if just changing the dependency is going to work. I don't know how ReScript to Reason works. The only thing that I needed to drastically change was removing The rest was pretty straightforward following the migration guide and fixing the warnings. |
Regrading |
@jihchi Sorry for the delay, it's been a crazy month. Just wrote some internal bindings that will do the job. |
sorry about that, I just added it again |
Migrated everything to rescript and changed reason-react to @rescript/react