There are many updates in this version that we hope you will like, some of the key highlights include:
That said, a shortcoming of static site engines has been that the most apps will still need some code on the server. For example, to work with APIs or a database.
To date, we haven't seen a system that really makes it simple to work with this paradigm. That's why we've created FactorJS v3.
FactorJS deals with this by including two entry points to your code, one for your app and another for your endpoint server.
Then in production, you can run your app with free or cheap static hosting like Github Pages, Netlify, etc. and if needed you can run you endpoint server with any Node host like Heroku.
This has multiple benefits:
To reconcile this incompatibility, most frameworks had to use "module bundlers" like , i.e. Webpack, to compile applications to a working application.
This reconciliation process forces the bundler to follow many dependency chains and causes painfully long compile times.
For months now, FactorJS v3 has been working in production with the most cutting edge libraries and it's made a world of difference.
During this process we worked through and improved any usability and stability issues that might come up.
You can view the Factor Showcase for site examples as well as links to code (if available).
Factor's core is designed to be simple and to give you the needed structure for apps and extension.
That said, we have already built additional modules for database handling (Postgres), users and auth, post management and more.
If you'd like to help steer development of these modules, please join the Slack channel and say hello!