Google's Chrome team has launched several projects to help framework authors adopt what they see as best practices, essentially starting with react-based next .js. Earlier this week, a team of 6 people (known internally as websdk on Google) introduced the Aurora project, described as "working with multiple framework authors."
In the official blog post, the project provides "powerful defaults and tools with opinions", and many of these experiences come from Google apps such as maps and search. Google said the aurora project identifies weaknesses in network frameworks, especially those that lead to "user experience pain points," and then fixes them in a way that adapts to other network frameworks. As you'd expect from the browser team, all the frameworks mentioned are JavaScript or typescript (which can be compiled into JavaScript).
The work already done by the project team so far includes the image components of next.js, which are then ported to nuxt, the inline css of next.js and angular web fonts, and the custom plugins that support eslint (static analysis) in next .js.
A related project called conformance again focuses on the default values for best practices, but is supplemented by "actionable rules." Developers who think they have the ability to write reliable and high-performance JavaScript should now look away, because Google believes that "optimizations that require developers to make any decisions pose a risk to the performance of the application."
As a result, the team designed a set of static code analysis rules and dynamic checks that span multiple "surfaces, including eslint, typescript, dynamic checks for user development servers, webpack bundlers, and css tools. Developers who violate the rules will be warned to fix the code.
These innovations first appeared in next .js, which is why these projects were simultaneously introduced to the world at next .js this week. At the event, next.js 11 was released, and conformance was touted as "a system that provides well-designed solutions to support the best user experience."
This, along with improved performance and the default adoption of webpack 5, is considered the highlight of the new version. Next.js sponsor Vercel also showcased a project to convert react apps launched with the create react app command to be compatible with next .js and previewed a new browser-based cloud-hosted coding environment called next.js live.