Rescript 12 monorepo with Bun
Hi! I was just testing bun with rescript 12 RC in a monorepo setup, did the workspaces in package.json, listed the package dependencies in the root rescript.json and got this error when building: We...
View ArticleRescript 12 monorepo with Bun
FYI: “isolated installs” have been added in bun 1.3, but they thinking about to change the default behavior back to “hoisted” and it’s also configurable (as stated in you link).
View ArticleRescript 12 monorepo with Bun
Yes, I recently had to add [install] linker = "hoisted" as well to my bunfig.toml because rescript stopped working. Could you please send a PR with your sample to GitHub - rescript-lang/end-to-end:...
View ArticleRescript 12 monorepo with Bun
nojaf: Could you please send a PR with your sample What would the repo with the repro be useful for? to reproduce the error message and improve it? The solution is an unfortunate interaction between...
View ArticleRescript 12 monorepo with Bun
joakin: What would the repo with the repro be useful for? We’d like to support Bun 1.3 out of the box with ReScript. A small reproducer where it fails makes it much easier to start investigating. I’m...
View ArticleBest practice developer copilot rules for React?
I’ve been experimenting with a localized MCP server lately and put together a short video about it. It turned out surprisingly interesting; there’s a lot of potential in giving AI a structured view of...
View ArticleFunction directives
Simple one! How do I put “use memo” or “worklet” etc at the top of a function?
View ArticleFunction directives
Use @directive on the function definition (not the let binding): let someFn = @directive("'use memo'") () => { Console.log("Hello") } function someFn() { 'use memo'; console.log("Hello"); }
View ArticleFunction directives
Thanks, this doesn’t work in ReScript 11.1.4 at least. Is there a minimum version for this?
View ArticleRescript in neovim
I’ve just come across this issue myself after coming back to some rescript code after not touching it for a few months. Tried some of the changes above but no luck so far. Don’t suppose you ended up...
View ArticleRescript in neovim
Hi @popstarfreas No, not yet. I haven’t had to time for testing the rescript setup more in depth. That’s a pity that there is some friction when getting started with the language because I’d really...
View ArticleIntroducing Bibimbob: VSCode Extension for ReScript Dependency Visualization
Great extension! Thank you. I always wanted to be able to quickly visualize where a React component is being used without having to cmd F “<MyComponent”. This helps quite a lot for this purpose....
View Article[ANN] Reforging the ReScript Build System
We wrote a blog post about the new build system in v12: Reforging the ReScript Build System | ReScript Blog Feel free to ask any questions you have about it. Happy building!
View ArticleRescript in neovim
I looked a bit closer into my issue. I made sure I added the capabilities to the config as per previous replies, but that by itself wasn’t working. Checking an older version of the server, the...
View ArticleRescript in neovim
@popstarfreas thanks for the heads up! I’ll definitely try that. It’s a bit surprising given other LSPs for other languages are working well!
View ArticleRescript in neovim
I’m glad to hear that it works for you now. Will be a big help for other neovim users. I have installed the inotify-tools as well. I’m sure that this was the missing puzzle piece.
View Article