Company
Date Published
Author
Angelo Ashmore
Word count
733
Language
English
Hacker News points
None

Summary

Next.js 13.4 has introduced the App Router, a new method for creating web applications that is supported by Prismic's React and Next.js packages, offering features like React Server Components, async/await data fetching, and streaming with Suspense. This new approach simplifies development by enabling more concise and performant code, allowing developers to fetch data directly within components rather than separately, which was the practice with the older Pages Router. Prismic and Slice Machine now support the App Router, with updates to their packages ensuring compatibility and providing features like the <PrismicNextLink> for rendering links without configuration. As Prismic encourages migration to the App Router for its enhanced capabilities, they offer comprehensive documentation, technical references, and community support for feedback, bug reporting, and sharing experiences with the new system.