Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
43
Adding authentication is a pain point for many React beginners. We’ve made it ridiculously easy to add Netlify Identity onto any React app, including create-react-app, Gatsby, Next.js, or any other setup you may have, by wrapping it all into one simple React Hook! However, this article is more about effective design patterns for introducing authentication into React apps, and any reader should be able to write similar wrappers for their preferred provider.
21st Jun 2019

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from swyx's site RSS Feed

What America has meant to me

Every time I have given up on America, it has been a mistake. And yet, America has never, ever given up on me.

5th Jul 2026 • 2 votes
What you can do in a decade

I turned 40 today. For my 35th I did principles, but for my 40th, I wanted to offer perhaps more useful reflections.

22nd Apr 2026 • 1 votes
How to Thought Lead (2026)

I first started compiling "How To Thought Lead" in my notes 5 years ago, at first as an ironic parody and then slowly becoming sincere, and never published it, 1) because I don't know if I ever really nailed it / have a complete picture, 2) I was somewhat worried if I published it then others might diminish the techniques through overuse.

14th Mar 2026 • 1 votes
Take a hard game, and make it shorter

You are of course aware that attention spans are shrinking. YouTube -> Shorts, Instagram Reels, Tiktoks, etc have taken over the world.

16th Feb 2026 • 1 votes
How To Podcast

Through my 4 (!) podcasts I obviously have built up a lot of opinions on podcasting over the years. Here's some of them. The two outlier podcasts of our time are Dwarkesh and TBPN, and I will explain my mental model of them to the end - the following advice is what I strongly believe for the "average" podcast that wants to do well but not necessarily being full time top tier influencer level. Also, this is primarily for professional/technical interview guest-led podcasts, but I also do have opinions on non-guest-led podcasts as well.

7th Dec 2025 • 1 votes

More in programming

Comments and emails

Why Bear doesn't have comments

7 hours ago • 2 votes
“Lucky to Be Me” from On the Town

Playing, and singing, the song “Lucky to Be Me” from Leonard Bernstein’s

yesterday • 2 votes
Talk: Clojure, интерфейсы и потерянные смыслы @ Организованное программирование

С Кириллом Мокевниным обсуждаем, почему функциональные языки не выиграли в эпоху ИИ, как агентная разработка меняет код-ревью и инструменты, куда уходят IDE и редакторы, что будет с карьерой разработчика после 40 и как я оказался в Linear.

2 days ago • 1 votes
AI Homelab Part 4: Lowering the floor for Scout

Helping Scout focus and remember

3 days ago • 3 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in