- Notifications
You must be signed in to change notification settings - Fork2
lpalmes/pure
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The idea of this project is to have cross-platform Reason code for web, desktop, mobile, that's why Pure was named as i wanted to write pure reason code (thanks tocherta for the name).
This is an experiment on some ideas i have, i will write some more in the future, but for now this can be seen as a cross platform ui library using each native platform and always providing a great developer experience like instant and consistent hot code reloading.
Electron is a successful case of cross platform code between three platforms: MacOS, Linux, Windows and the Web. But such benefits bring costs as high resource usage and most of the time core rewrites in c++ (or another language) to avoid those issues. I believe that React Native has solved this problem by using the platform (iOS and Android for now), and the desktop environments could benefit from this as well. Hence this project, which is an experiment of doing a cross platform ui library to satisfy electron use cases for an lighter alternative using native platform.
- pure: this is the bare bones definiton of pure, similar like the react package is agnostic of the renderer and compiles to all platforms
- reconciler: this is the fiber-esque reconciler
- pure-dom: the dom/web render using the reconciler above (not working now, work in progress in using bucklescript + esy, any help is appreciated :) )
- pure-macos: the native render using the reconciler and flex to layout the views. This has a MacOS render for now, but a Linux and Windows is in the works.
- pure-noop: a no op reconciler to play around, nothing too important
- cocoa-ml: cocoa (macos) bindings, silly name but well, naming is definitely the hardest problem in computer sience
- pure-ppx: a ppx that should work like reason react ppx, but nothing working for now
- specs: ideas and mechanics of multiple aspects of this project, more than welcome to discuss
You should haveesy installed, and then runesy install, first time installing it might take a while if you haven't played around with esy.
esy x mainoresy dune exec mainbroken for now :(If you want to help you are more than welcome to do so. This is an experiment that i hope it turns into a viable route, i believe we deserve a better alternative for the desktop.
- bsb native
- esy
- react native web
- reasongl (for the cross platform code)
- didact bypomber
About
React in pure Reason that targets native platforms.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.