Technical

314 articles ยท all categories

8 articles from September 2020 ยท show all

Prefetch data with React Query and NextJS โ€“ CodeWithSwiz 8, 9

Prefetching lets you start React apps without loading spinners. Gatsby introduced this concept with `staticQuery`, react-query and NextJS make the pattern easier ๐Ÿ˜

Modern backend is a JavaScript function

Many engineers think server-side code is the scary domain of True Engineers. Something newbies, juniors, and frontend engineers shouldn't touch. They're wrong. Modern backend is a joy. โค๏ธ

Using JavaScript to commit to Github โ€“ CodeWithSwiz 7

Update code with a JavaScript function? Easier than you think ๐Ÿ˜

Why NextJS /api routes are fab โ€“ CodeWithSwiz 6

In this episode of CodeWithSwiz, we tried NextJS's support for /api routes โ€“ code running on the backend. In a word โ€“ Wow

Exploring NextJS with a headless CMS, pt4 โ€“ CodeWithSwiz

NextJS getStaticProps, environment vars, and why you shouldn't use yarn link โ€“ all in this episode of #CodeWithSwiz

Exploring NextJS with a custom CMS, pt3 โ€“ CodeWithSwiz

Friend, this episode of #CodeWithSwiz was a great example of why you want to start using TypeScript and how thermal load *destroys* computers.

Building a small CMS with NextJS, pt2 โ€“ CodeWithSwiz

You're the computer, the CMS is your script. Starting small, trying NextJS, comparing microbundle vs. parcel for extracting libraries out of projects.

Your first NextJS app โ€“ CodeWithSwiz

On CodeWithSwiz ep2, we tried NextJS and built our first tiny app. Complete with a design system, static rendering, React Query to talk to AWS Lambda, and deployed to live ๐Ÿค˜