Skip to content(if available)orjump to list(if available)

Write ReactJS in Rust

Write ReactJS in Rust

3 comments

·November 30, 2025

ironblood

So I guess the package `brahma-firelight` is the core idea behind this? But why in the repo[0], you uploaded those `.node` files instead of the source code + building scripts? Also your source code `brahma.js` looks like generated from `@napi-rs/cli`. Because recently I'm trying to build rolldown and next.js for msys2 platforms, and I'm certain this line[1] of code won't work in some cases.

[0] https://github.com/Shyam20001/rsjs

[1] https://github.com/Shyam20001/rsjs/blob/a226f62de039ebbd8da0...

philipwhiuk

Obviously it's up to everyone how they open source stuff, but I'm not necessarily sure that a massive blob of compiled code is the way to go: https://github.com/Shyam20001/rsjs

cobertos

I wish the author included examples of what it's like to write ReactJS in Rust. Can't get a good idea of how succinct or structured it is to write for example a button handler on an element from what's in the docs currently.