Skip to content

selaux/react-gtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-gtk

Build Status

A experimental React renderer written in JavaScript. It can be bundled using webpack to get an application bundle which can run in gjs, the Gnome projects JavaScript runtime.

Status

  • Rendering a simple application
  • Make inputs controlled by react
  • Handle dynamically added and removed children
  • Support for all widgets
  • Support for list models
  • Automated mapping of property string values to GTK consts

Dev Dependencies

We currently depend on gjs>=1.50.2, gtk3 and nodejs. You can choose to conveniently install them using the Nix package manager:

nix-shell

This will drop you in a shell with all the dependencies installed.

Note: We use nodejs only for packaging. The application has to be run using gjs, otherwise it will not work.

Running the Example Application

Install dependencies:

npm i

Start the application:

npm start

About

React renderer for GTK applications in gjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published