Video: Shared Layout

Ecommerce on the Jamstack with Snipcart, Next.js, & WordPress

16 videos

Released: 2021-07-31

User avatar


Colby Fayock

Shared Layout

As we're starting to manage more than a single page, we're noticing that we're having to repeat a lot of the same UI components in each. While this isn't too bad with just a few pages, as it grows, we need to remember to make any changes on each and every page. Instead we can take advantage of the reusability of React components to abstract our entire layout, allowing us to manage all global components in a single, shared Layout.