Headless WordPress is altering the sport with regards to constructing quicker, safer websites on the world’s most trusted CMS, and Faust.js is without doubt one of the most vital items of know-how for headless growth.
The JavaScript framework is designed to make constructing the frontends of headless websites simpler, and hundreds of builders have already harnessed the ability of Faust.js of their headless builds.
Faust.js is an open supply venture that’s free for the whole WordPress neighborhood to make use of. As a part of our dedication to sustaining and enhancing Faust, the crew behind it has spent the previous yr gathering vital suggestions from Faust.js customers. That suggestions led our crew to conduct an entire rewrite of the framework, which has resulted in a brand new model of Faust.js that’s designed particularly to enhance scalability and adaptability for all headless WordPress websites.
Whereas the outdated model of Faust.js will proceed to function as meant for the websites that depend on it, any new websites constructed utilizing Atlas Blueprints on WP Engine’s platform will routinely use the brand new model.
Learn on to search out out extra about Faust.js, in addition to what you may count on from the brand new model.
A Fast Historical past of Faust.js
Initially launched final yr, Faust.js was designed on high of Subsequent.js and React. The framework consists of a WordPress plugin and a set of npm packages that work collectively to make constructing frontend purposes simpler.
Faust.js was constructed to unravel some of the widespread challenges that arises when constructing headless websites: the flexibility to preview posts and pages with out sacrificing person expertise. Within the months since its launch, Faust.js has been delivering higher experiences for builders whereas sustaining ease of publishing for much less technical website customers.
What’s New for Faust.js?
In brief, every little thing. WP Engine builders have rebuilt the whole framework from the bottom up, enhancing a number of features of Faust.js alongside the best way. For that reason, customers can not swap out the outdated model of Faust.js for the brand new model on already-existing websites.
That is a completely new and separate package deal, and builders might want to familiarize themselves with the brand new framework as they proceed constructing headless websites with Atlas Blueprints.
Primarily based on the suggestions we obtained from builders utilizing the earlier model of Faust.js, we’ve made the next enhancements:
- Applied a brand new information layer that improves the method of working with queries
- Eliminated boundaries for scaling with an API-first design, permitting builders to reuse their work for a number of tasks
- Created a brand new WordPress Template Hierarchy for headless: this first-of-its-kind function permits builders to create templates for any piece of WordPress information, which may then be used throughout different headless builds
That being stated, this isn’t an finish of life for the outdated Faust.js. Prospects already leveraging the outdated model won’t see an interruption on these websites, and there’s no finish of life scheduled for the outdated model of the framework at the moment. Documentation associated to the earlier model of Faust has been moved to https://legacy.faustjs.org.
Desire a extra detailed look on the new enhancements to Faust.js? Take a look at this put up on the Faust.js weblog.
What’s Subsequent for Faust.js?
Certainly one of our core values at WP Engine is Dedicated to Give Again, which means we’re devoted to giving again to the communities we dwell and work in, in addition to the bigger WordPress neighborhood.
With that high of thoughts, we’ll proceed gathering suggestions from our clients and customers of our open supply tasks, and enhancing the instruments and know-how they love—together with Faust.js—to make WordPress the CMS of selection for each headless and conventional web sites.
When you have any questions or ideas that may enhance Faust.js, be a part of the Discord channel at faustjs or, for purchasers utilizing our platform, attain out to WP Engine’s buyer help crew.
This new replace additionally implies that adjustments are on the horizon for Atlas Blueprints. As a result of the outdated Blueprints have been constructed with the outdated model of Faust.js, they are going to not be accessible. As a substitute, customers will have the ability to entry a single Blueprint that demos options for builders who’re occupied with getting began on Atlas and utilizing the framework—use of Faust.js is optionally available for all WP Engine clients. Moreover, WP Engine is engaged on a brand new venture scaffold meant to assist skilled builders get began with new tasks as rapidly as attainable.
Because the neighborhood of builders utilizing Atlas Blueprints continues to develop, our groups will launch adjustments that can make onboarding simpler for brand spanking new customers and proceed to enhance our clients’ experiences with constructing headless websites.
Faust.js Isn’t the Solely Headless Innovation From WP Engine
Along with the unimaginable work with Faust.js, the product and engineering groups have additionally been delivering new improvements on the Atlas platform. From growth previews to webhooks to rollback performance, the crew has been making it simpler (and quicker) to construct headless WordPress tasks.
We all know there are a lot of extra thrilling issues to come back as we glance towards the way forward for headless know-how and the Faust.js framework, so be looking out for extra options, improvements, and know-how from Atlas and the WP Engine crew.
Attempt the New and Improved Faust.js Framework
Need to check out the brand new model of Faust.js for your self? Obtain right here, or higher but, join a free Atlas Sandbox account and expertise an intuitive UI and highly effective decoupled structure in motion on WP Engine!
Need to discover out extra about headless WordPress? Go to WP Engine for a more in-depth take a look at Atlas, or converse to a consultant as we speak!