CSS Grid to assign columns, with a little JavaScript to stretch the last item in each column.
Continue reading “Responsive masonry in React with a straight bottom line”Add a universal page load bar and/or spinner to NextJS
Adding this is very easy when you make use of the NextJS router events and the NProgress package.
Continue reading “Add a universal page load bar and/or spinner to NextJS”Persist user state in NextJS by using a cookie and a context provider
Use a combination of application context and browser cookies to save and retrieve state in a NextJS app.
Continue reading “Persist user state in NextJS by using a cookie and a context provider”