Adding Feature Flags to Next.js (Upstash Redis, SWR, Hooks)
HTML-код
- Опубликовано: 6 окт 2024
- 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. courses.leighh...
---------- Links
Upstash - upstash.com/
Source Code - github.com/lei...
Starter Code - github.com/lei...
---------- Connect
Join this channel - / @leighhalliday
Join me on Discord - / discord
Check out my course called Next Level Next.js! A full stack course covering GraphQL, TypeScript, Apollo, Prisma, auth and lots more! next.leighhalliday.com
Also... as a **warning** I did not cover authentication in the above video. Something like managing feature flags should DEFINITELY be behind some form of authentication. You don't want any random user toggling your flags!!
By far the best modern JS channel on RUclips. Thanks for the incredibly clean/useful FF implementation, Leigh!
It is a very useful video. Just pushed a long awaited feature as returning to the last listening position in a play list. Thank you.
Yes please, more on redis would be great! I would also like to see even more NextJS! Really enjoying your content!
More redis coming on Monday :)
Nice one Leigh 👍, which also helped me to recall my almost forgot knowledge points
Thanks Damon!! Glad you enjoyed it!
hey Leigh, really like your tutorials, always interesting topics and practical examples. and react ecosystem
Thanks Alex!! More topics like this on the way :)
i need a flag that enables all your future videos in my youtube feed cause they are friggin fire
Haha smash that bell and RUclips will do just this :) Thanks Dor!
Killer video
Hey hey! Hello from FlipGive ;) 😊😊
Hey Kehinde!! I hope my code isn't causing you too many issues haha :D Thanks for saying hi!
@@leighhalliday Nope! Loving the codebase
You got me at Canada
Ohhhhh Canada, our home and native land.
Hi Leigh, thx a lot for your sharing. It helps me a lot! What is your vs code theme pls? Support from Belgium
Thanks! I’m using One Monokai :)
@@leighhalliday Thanks!
Not the Leigh without that cap
lol... sorry, I'll wear a hat next time! The hair... I don't think it is coming back though!
Awesome
Thanks Ranga!
Hello Canadian friend
Howdy!! 🇨🇦
Like and comment for the joke 🇩🇪
Haha glad you enjoyed the joke :)
LOL
🤓