Fusion.js gives you the developer experience you expect from a React setup and provides tools to take project quality to the next level.
$ yarn create fusion-app my-fusion-app $ cd my-fusion-app $ yarn dev
Encapsulate complex logic into a single plugin and register it in one line.
import App from 'fusion-react'; import Router from 'fusion-plugin-react-router'; export default () => { const app = new App(<div>...</div>); /* One line of code sets up everything you need for routing: - Server rendering - React Providers on both server and browser - Bundle splitting integration - Hot module reloading support */ app.register(Router); return app; }
Write your server and client code together and Fusion will take care of the rest.
import App from 'fusion-react'; import SecureHeadersPlugin from './plugins/secure-headers-plugin'; export default () => { const app = new App(<div>...</div>); // Register this plugin only on the server if (__NODE__) { app.register(SecureHeadersPlugin); } return app; }
Meet the Fusion.js core team. They work on the Fusion.js core and default plugins. Start contributing and join us today!