CodeWithSwiz

25 articles ยท all categories

12 articles from 2021 ยท show all

June 2021

Hacking the React AST for fun and profit โ€“ #CodeWithSwiz ep34

This is hold my beer level of hackery. It didn't work but we learned lots in the process.

Use Netlify's _redirects on Gatsby Cloud

Something always goes wrong when you change hosting providers. ๐Ÿ˜… For me it was redirects. A vital feature of any site migration.

A fun security bug with static rendering โ€“ CodeWithSwiz #31

The flash of unlocked content is great fun for any paywall

May 2021

Build privacy-focused blazing fast tweet embeds โ€“ CodeWithSwiz 30

Twitter embeds every tweet on your page as an iframe. Loads 1.2MB of JavaScript, makes 20+ HTTP requests and uses 100+ DOM nodes. ๐Ÿ’ฉ

Twitter embeds without JavaScript, pt1 โ€“ #CodeWithSwiz 29

Continuing our quest for better Lighthouse scores, more reader privacy, and less JavaScript we attacked the next biggest culprit ๐Ÿ‘‰ Twitter.

April 2021

2 quick tips for 250% better Lighthouse scores โ€“ CodeWithSwiz 28

Your site may be fast for users, but Google don't care. Official metrics or bust.

Serverless file upload to S3 with NextJS and AWS Lambda โ€“ CodeWithSwiz 27

The Girl loves her daily cute photos, but she's bored of repeats. What if adding images was easier ๐Ÿค”

February 2021

Reverse engineer a GraphQL API to automate love notes โ€“ CodeWithSwiz 24

We used a man-in-the-middle attack to snoop an app's API traffic, replayed it in a GraphQL client, and successfully put it inside an AWS Lambda ๐Ÿค˜

React Bricks - visual blocks editor for NextJS #CodeWithSwiz 22

Tried a new visual editor for NextJS and CreateReactApp. Got a site up in 20min ๐Ÿค˜

January 2021

[CodeWithSwiz 21] useAuth beta support for Firebase ๐ŸŽ‰

It works! useAuth has beta-level support for Firebase Auth ๐Ÿฅณ I did not expect that to take 3 sessions.

[CodeWithSwiz 20] Adding Firebase support to useAuth, pt2

Firebase continues to be ๐Ÿ’ฉ. No wonder people keep asking for support in useAuth. Almost there โœŒ๏ธ

[CodeWithSwiz 19] Firebase Auth support in useAuth, pt1

Support for Firebase Auth is one of the most requested features for useAuth and I figured what the heck, how hard can it be?