Adding Feature Flags to Next.js (Upstash Redis, SWR, Hooks)

Опубликовано: 13 Октябрь 2024
на канале: Leigh Halliday
6,479
253

In this video we'll build our own feature flag management tool in Next.js, storing the flags in Upstash Redis, creating a custom hook to check a flag's status in the view.

*Warning* I did not handle authentication... if you're going to use this approach, please add authentication checks where appropriate.

---------- Course

Want to go deeper with Next.js? Join me in my Next Level Next.js course where over 29 videos and 8 hours of content we'll build a full application from start to finish. We use TypeScript, GraphQL, Prisma, Apollo, Mapbox, Firebase and lots more. https://courses.leighhalliday.com/nex...

---------- Links

Upstash - https://upstash.com/
Source Code - https://github.com/leighhalliday/next...
Starter Code - https://github.com/leighhalliday/next...

---------- Connect

Join this channel -    / @leighhalliday  
Join me on Discord -   / discord