How to get Input Value in Rescript?
Hi @jysh, thanks for posting these helpers. Would it not make sense to add these to the React binding package?
View Article[ANN] rescript-rest - RPC-like client, contract, and server implementation...
Creating and consuming REST APIs was a neglected part of the ReScript ecosystem, and since the first days of using ReScript, I have been thinking about how to solve the problem. This is how I started...
View Article[ANN] rescript-rest - RPC-like client, contract, and server implementation...
In the end, the tool should support the majority of ts-rest features, have a more ergonomic design for ReScript users, have a tree-shakable contract, and be more convenient for passing...
View Article[ANN] rescript-rest - RPC-like client, contract, and server implementation...
DZakh: Generate Contract from OpenAPI This especially would be a fantastic addition to the ecosystem. I look forward to following your progress!
View ArticleFirebase modular bindings
Hi folks, I’m new to ReScript and I want to use Firebase with ReScript and I started to learn how to create bindings: So far I have: module App = { type app type appConfig = { apiKey: string,...
View ArticleError compiling @rescript/core with Rescript 11
So there indeed issues with ReScript 11.0.1 and Core 1.1.0? Is really needed to modify the file in node_modules?
View ArticleError compiling @rescript/core with Rescript 11
I’m having this issue in 2 different projects that were using rescript 10.1.4 and I upgrade them to rescript 11.1.0 don’t know what is going on
View ArticleError compiling @rescript/core with Rescript 11
@jihchi I’m using your starter template and your vite plugin, the uncurried is false like here: vitejs-template-react-rescript/rescript.json at 24450dea0f8752d5f828f918f0b8b9f5e644775c ·...
View ArticleError compiling @rescript/core with Rescript 11
@ashton As @fham suggested, it would be helpful for troubleshooting if you can create a minimal repo.
View ArticleError compiling @rescript/core with Rescript 11
Same Issue happened here: ReScript 11.1 uncurried issue with core package? In that case it was rescript-classnames.
View ArticleError compiling @rescript/core with Rescript 11
This situation isn’t great obviously. v12 will have Core inside of the compiler itself so the problem will go away, but we should do what we can to clear up the situation before too. Suggestions...
View ArticleError compiling @rescript/core with Rescript 11
@jihchi oh sorry, I misunderstood, I thought that the repo you posted was exactly the minimal example. The main point is, with a fresh installation, I can’t reproduce the issue, so it’s something...
View ArticleError compiling @rescript/core with Rescript 11
Based on this post I tried to figure out if some other library was using some old version of rescript core, but it doesn’t be the case: ⋯/rsus on main [✘!?] via v18.20.2 took 836ms ❯ npm ls --all...
View ArticleHow to bind this kind of function?
Hi there ! I’m struggling with this kind of binding for the ky HTTP lib. (The wanted case is commented) I’ve tried to bind the type t directly but later in some code it produces a weak type error. Did...
View ArticleHow to interopt with Chakra-Ui
Hello everyone, I’m brand new to ReScript, but am excited to start playing around with the language. I’ve created a sample app with the create-rescript-app template and am currently trying to interopt...
View ArticleHow to interopt with Chakra-Ui
Don’t know exactly, but probably you have to bind it to a make function inside a ChakraProvider module. React components have to be written with a capital letter at the beginning.
View ArticleHow to interopt with Chakra-Ui
@dkirchhof is correct, the binding should be module ChakraProvider = { @react.component @module("@chakra-ui/react") external make: (~children: React.element) => React.element = "ChakraProvider" }...
View ArticleError compiling @rescript/core with Rescript 11
No, it will take some time until v12 releases. There will probably be a alpha version in the first half of the year though. What do you get from npm explain @rescript/core ?
View Article