Monorepo with bun and nx, issue with rescript -w
Why don’t you use rewatch? It was made on purpose for mono repos.
View ArticleHow to generate all compiled code in a single folder?
At some point you should get rid of those dependencies, if you want to stick to ReScript. I just found out that @dsiu forked Relude to ReScript. Maybe he could help out here. It could at least make it...
View ArticleGive your feedback about rescript-webapi!
Hello everyone, We know the current situation around WebAPI in rescript is not ideal and we would really like to improve it. Please give your feedback about rescript-webapi, tell us the things that...
View ArticleGive your feedback about rescript-webapi!
I’ll briefly summarize the points that already got reported: the existing API is too far from the JS one (from window.location.origin in JS to...
View ArticleMerge tuples types
If each query returns a different type it’s nearly impossible to write a generic function for any scenario to combine all of the resulting data. But if I understand correctly, your main goal is to...
View ArticleGive your feedback about rescript-webapi!
Just reiterating things already mentioned here, but ergonomics is the most important here I think. Like mentioned, it’s a world of difference between doing:...
View ArticleHow to generate all compiled code in a single folder?
I’m not sure if you thought I had but I never asked or expected anyone to invest the time to fix bs-platform v9. Upgrading is pretty much my only option it seems. I’ve been spending the past week or...
View ArticleGive your feedback about rescript-webapi!
My two cents: Most people that will use this API will have existing JavaScript knowledge, so the spreaded record idea would make this a lot closer to what people are familiar with. I would organize...
View ArticleCurried/uncurried single-argument functions
I’ve been struggling to acclimate myself to the new uncurried system. One of the things that puzzles me is what the difference is between curried and uncurried when there’s a single argument. For...
View ArticleCurried/uncurried single-argument functions
Building on this, I also discovered that the curried/uncurried single-argument functions can cause extremely obscure errors from @decco: We've found a bug for you! /project/src/MyModule.res This...
View ArticleCurried/uncurried single-argument functions
If you’ll forgive me venting a little bit it’s just really frustrating that the community seems to have given so little thought to the downstream effects of removing currying from the language. I read...
View ArticleWeb frontend frameworks ReScript can work with in 2024?
I’ve been out of the web frontend loop for a while. Is Next.js still the only viable option for ReScript? No-fuss HTML from a server is what I’m after. Not married to React, though.
View ArticleWeb frontend frameworks ReScript can work with in 2024?
If you don’t care about having an actual fleshed out client framework like React, just want to produce HTML with a little bit of interactivity, but still want to use JSX and the component approach, I...
View ArticleFullstack Engineer Contract role - Rescript
Our client is currently seeking a Senior Fullstack engineer for a 12-month project, this role is 100% Remote with no travel required. Required key competencies and qualifications: At least 5 years...
View ArticleFullstack Engineer Contract role - Rescript
i would like to assist you, Can you share your email so we can discuss?
View ArticleGive your feedback about rescript-webapi!
What is the desired way to call these? // Nested modules WebApi.Navigator.cookieEnabled // An object WebApi.navigator.cookieEnabled // If you have WebApi open it could match JS navigator.cookieEnabled...
View ArticleGive your feedback about rescript-webapi!
I ran into the same question when writing our jest bindings - is it Jest.Fn.make(), Jest.fn() or jest.fn()? My vote would go for Navigator.cookieEnabled. It has the same ergonomics but is namespaced...
View ArticleCurried/uncurried single-argument functions
I thought you could get the old behavior by setting { "uncurried": false } in rescript.json. Or am I misunderstanding the problem?
View ArticleCurried/uncurried single-argument functions
@kay-tee When I set that in my project it sets it as well for every dependency in the project. So the libraries which have been updated to work in uncurried mode, no longer work. Unless I’m missing...
View Article