Skip to content

victorporof/reactenstein

Repository files navigation

Under heavy research and development, please don't use this yet!

reactenstein

License: MPL 2.0

A react reconciler which bypasses the DOM, performs layout using Yoga and presents using WebRender.

git clone https://github.com/victorporof/reactenstein
cd ./reactenstein
yarn install
yarn build

Start the renderer server:

cd ./headless
cargo run --release

Run a benchmark:

cd ./benchmarks/dbmonster-react
yarn install
yarn start

Change this dependency in benchmarks to use the default implementation:

import ReactDOM from '../../../';

to

import ReactDOM from 'react-dom';

Change this line in the implementation to switch between running the framework on the main thread or in a web worker:

import API from './vdom-worker-api';

to

import API from './vdom-sync-api';

Run the reconciler in development mode:

cd ./reactenstein
yarn serve

About

Custom React reconciler using RSX as a backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published