Settings

Theme

Rendering JSX without a browser by embedding Node.js in a native program

forbear.dev

3 points by Gabrielmfern · 1 comment

Reader

1 thread
GabrielmfernOP

Hey, author here! Forbear is a UI library written in jai. This entry is about how I was able to embed Node.js into it so that JSX could drive the UI. It's all immediate mode, and it runs relatively simple work on my 240hz without any hiccups. This definitely does not handle stuff like async, and is still extremely experimental, and since jai is in private beta, you can't compile it quite yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection