RescriptRelay with ReScript Core
zth: + "ppx-flags": [["rescript-relay/ppx", "-uncurried"]], Wrapping ppx-flags with another list made it for me! Thanks a lot!
View ArticleProposal: Kawaii logo
Hi everyone, I’d like to submit a request to @sawaratsuki1004 for the ReScript logo. It’s been trending on tech Twitter lately, and it would make for a fun Easter egg, similar to React. Can anyone...
View ArticleProposal: Kawaii logo
However, we don’t really have a spot where the logo is as large as for instance on the React page. So you would only see it in the top left corner. Furthermore, it would be great if you could add...
View ArticleProposal: Kawaii logo
Great, thanks! I created [Request] ReScript · Issue #128 · SAWARATSUKI/KawaiiLogos · GitHub. Hopefully, we can incorporate it on the homepage if we get it. Sawaratsuki receives many requests, so let’s...
View ArticleThis open statement shadows the label
If you want to give the latest open higher priority, you can add ! to it. open! Blah But this is a last resort, it is better to do the following: Write the module name in front of the first field of a...
View ArticleProposal: Kawaii logo
再スクリプト! Finally, I know how to spell ReScript in japanese! “Sai sukuriputo”
View Article[ANN] ReScript Retreat Roadmap Summary 2024
ryyppy: Remove .ml compilation support I would like if this wouldn’t happen, it will break all usages of styled-ppx and it’s currently the only way I can do to share the same CSS definitions and small...
View ArticleRescript Vite project with insource: false
When I create my rescript project with vite, I change insource property in rescript.json to false. Now rescript compiler put compiled files in lib/es6. So, if my project use react, the Main.res is...
View ArticleRescript Vite project with insource: false
Can I ask why you changed insource to false?
View ArticleRescript Vite project with insource: false
I had it set to false for a while when I first started rescript, and the main reason is that I never looked at the js files and viewed it as file bloat in my src directory. Especially after coming...
View ArticleRescript Vite project with insource: false
I rarely look to compiled files like @hellos3b said. I just want code that I edit in src. I think it’s just a pollution of unnecessary files in my src folder.
View ArticleRescript Vite project with insource: false
Now I using vscode file nesting. Anyway, I was thinking about use insource: false and make project works.
View ArticleRescript Vite project with insource: false
I think there are some big issues here for sure, but ugly is better than broken imo.
View ArticleHow can i bind to mongoose
what I would suggest you is, To connect your Node.js application to a MongoDB database using Mongoose, you first need to install Mongoose by running npm install mongoose in your project. Then, in your...
View ArticleDependencies of Dependency management
Given three packages: App - Your rescript application Direct Dependency - A dependency you install to your app Indirect Dependency - A dependency that “direct” uses What’s kind of the guidelines...
View Article[ANN] ReScript Retreat Roadmap Summary 2024
TLDR; We could leave ml compilation in for a little while longer but it would break anyway because ml code can’t express uncurried mode. Some background: To be clear, it’s not about finding OCaml...
View Article[ANN] ReScript Retreat Roadmap Summary 2024
About ATD, I’ve been a big user for quite many years in both OCaml and Rescript, but the situation feels a bit suboptimal now and some of the rescript users would like to have a dedicated mode for...
View ArticleThis open statement shadows the label
Thanks, but I still don’t quite grasp what the problem space is that two modules expose the same record field? data could not be misused, because I would need a type annotation anyway. And I would...
View Article