Skip to content

thiagojedi/hyper-gtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HyperGtk

Just a simple and fun experiment for writing Gtk apps in Gjs with HyperScript (JSX) syntax.

Inspired by @developit's post WTF is JSX

Running

git clone https://github.com/thiagoabreu/hyper-gtk
npm install
npm start

Doesn't work

Right now it DOES NOT work with class components (like React).

For some reason, arrow functions as components doesn't seem to work either.

What does work, then?

Functions! The good and old es5 functions.