NodeGui & React NodeGui

Atul R

@masteratul94

Software Engineer

Agenda

  • What is NodeGui ?
  • Demo and code samples
  • What is React NodeGui?
  • Demo and code samples
  • Interesting feature demos
    -  styling, events, text.
  • Debugging with Chrome.
  • How does it work?
  • Q&A

NodeGui

A library to build cross platform, native  desktop applications with Node.js and CSS

+

https://nodegui.org

Goals of NodeGui

  • Render native widgets and windows but have the flexibility of web. 🏋️‍♀️
     
  • Styling with CSS. 💅
     
  • Be CPU and memory efficient.  🏎️
     
  • Could be used as a standalone library or serve as a base for other frameworks like React, Angular, Vue etc.  🏗️
     
  • Have good documentation 📖

NodeGui - Code Sample

Getting started: docs.nodegui.org

 

*Requirements: CMake and Node.js

Basic example

Hello world with a button

Comparison with DOM api

NodeGui

Dom

React NodeGui

A library to build cross platform, native  desktop applications with React and CSS

+

https://react.nodegui.org

+

React NodeGui - Code Sample

Getting started: react.nodegui.org

 

*Requirements: CMake and Node.js

Basic Example

Styling

We use CSS  💅

Qt Stylesheet

Yoga (facebook)

+

Inline styles &  Stylesheets

Inline styles

Stylesheet

pseudo-selectors

Some more examples

Events

Text

Debugging

  • Chrome debugging tools
     
  • Planned support for react-devtools aswell for react-nodegui.

A NodeGui app is a Node.js app

How does it work?

Q & A

@masteratul94
github.com/master-atul

Atul R

NodeGui

NodeGui and React NodeGui - KarmaJS November 2019

By Atul R

NodeGui and React NodeGui - KarmaJS November 2019

A library for building cross-platform native desktop applications with Node.js (optionally React) and CSS 🚀

  • 600