Fusion.js

Modern framework for fast, powerful React apps

README

FUSION.JS

  Modern framework for fast, powerful React apps

Build status fusion-core Downloads


What is it?


fu·sionnoun

>

The process or result of joining two or more things together to form a single entity.


Fusion.js, Uber’s open source universal web framework, represents the fusion of the client and the server. It's geared for server-side rendering out of the box, and its plugin-driven architecture allows for complex frontend and backend logic to be encapsulated in a single plugin:

  1. ``` js
  2. import App from 'fusion-react';
  3. import Router from 'fusion-plugin-react-router';

  4. export default () => {
  5.   const app = new App(<div>...</div>);

  6.   /*
  7.   One line of code sets up everything you need for routing:
  8.   - Server rendering
  9.   - React Providers on both server and browser
  10.   - Bundle splitting integration
  11.   - Hot module reloading support
  12.   */
  13.   app.register(Router);

  14.   return app;
  15. }
  16. ```

We initially built Fusion.js to make our own websites easier to maintain, but were so impressed with the benefits that we decided to offer it to the community as an open source project!

Try it out


If you're interested in giving Fusion.js a shot, Overview and Core Concepts are great places to start.


Contributing


This is a monorepo of all open source Fusion.js packages maintained using Yarn v2. Take a look at CONTRIBUTING.md for info on how to develop in this repo.

License


MIT