🔴 Get my Complete Frontend Interview Prep course - roadsidecoder.com/course-details ➡ Book an Interview Preparation call with me ( 20% OFF for limited time ) - topmate.io/roadsidecoder 🟪 Follow me on Instagram and u will clear your interview 🤓 - instagram.com/roadsidecoder/
Very simple with redux just dispatch action in payload dark or light. Fetch value using useSelector from store and base on light and dark string output you can remove and add classes conditionally using ternary operator thats it. Whit javaScript its a bit cumbersome.
Yes we want video for dark and light mode using redux,redux toolkit but also with backend we can store app configurations light and dark mode also in backend if we load the browser dark and light mode will remains same local storage user can easily remove use backend api only .
I think for styling we can use tailwind css that would much easy to apply and it is getting adapted very fast, would recommend to use tailwind next time.
Thanks, bro, for the video. I think in a real-world application, storing the light/mode into local Storage would be better as context/ or any state would set to default value once the page is reloaded. So, i used similar approach for UI and created a custom Hook for storing the state.
Sir, I implemented light dark theme without context api My approach 1. I made a light class in css and added light theme color 2. then i made another class dark and added dark theme color 3. when someone click on button then i added those class on body tag is it okay or there is any problem let me know ! 😮😮😮😮😮
@@RoadsideCoder but i am using css variables value to design components styling. then i am changing value according to theme but variables name will be same
🔴 Get my Complete Frontend Interview Prep course - roadsidecoder.com/course-details
➡ Book an Interview Preparation call with me ( 20% OFF for limited time ) - topmate.io/roadsidecoder
🟪 Follow me on Instagram and u will clear your interview 🤓 - instagram.com/roadsidecoder/
What all beginner javascript projects should we do before moving on to react?
.
yes we want a video for this dark and light feature using the redux toolkit please share with us
Alright!
Very simple with redux just dispatch action in payload dark or light.
Fetch value using useSelector from store and base on light and dark string output you can remove and add classes conditionally using ternary operator thats it.
Whit javaScript its a bit cumbersome.
Bro didn't hesitate to just display photos while video call 💀💀💀, but great content bro...
I had their concent don't worry
@@RoadsideCoder BRO YOUR CONTENTS ARE WAY BETTER THEN FANG RUclipsR... THANKS FOR THAT...
no premiere today @6pm
I thought you all will be busy in new year
Yes we want video for dark and light mode using redux,redux toolkit but also with backend we can store app configurations light and dark mode also in backend if we load the browser dark and light mode will remains same local storage user can easily remove use backend api only .
I think for styling we can use tailwind css that would much easy to apply and it is getting adapted very fast, would recommend to use tailwind next time.
it would be much appreciated if u make light and dark mode using redux and redux toolkit
yes please create it using redux toolkit as well
Redux toolkit...light and dark mood
Dude your content has helped me so much. Thank you!
i intersted in your front end domination course but it is very costly INN TO PKR
bro its not mine 😂
please continue machine coding round interview questions
I have uploaded it yesterday
yes bhaiya, please make video on light and dark mode using redux toolkit or zustand
it was really great
yes redux dark mode video with standardised way
Okay!
Thanks, bro, for the video. I think in a real-world application, storing the light/mode into local Storage would be better as context/ or any state would set to default value once the page is reloaded. So, i used similar approach for UI and created a custom Hook for storing the state.
How are you so good with hooks and everything. Please help me.
Please tell me in detail of all process during interview?examples of machine coding test
please video in how to make breadcrumbs navigation
Please do this in remix. Should be very similar Thanks.
SIr please make a video to implement dark with redux and redux toolkit
Excellent stuff. Learned a lot. Love from Pakistan ❤ keep it up bro 😊
Great learning with you bhaiya! yes we do want a video on redux also
nice video helps to learn Lot!! thank you
please implement this using plain redux and also with redux toolkit
Nextjs making it easy with tailwind 😂
You're implementation is really amazing
Thank you so much. Although I used tsx for my context, this method works perfectly.
Excellent!
make using redux as well
Sir, I implemented light dark theme without context api
My approach
1. I made a light class in css and added light theme color
2. then i made another class dark and added dark theme color
3. when someone click on button then i added those class on body tag
is it okay or there is any problem
let me know !
😮😮😮😮😮
but what if a deeply nested component needs to know the current theme, then u will need to know by using the useContext hook
@@RoadsideCoder but i am using css variables value to design components styling.
then i am changing value according to theme but variables name will be same
By the way thanks sir i try to implement it using context api right now ☺️☺️☺️
so bye i am gonna open my laptop...
have a good night!
Excellent stuff awesome
Thanks a lot sir. I have shared your playlist with all my friends.
Thanks a lot brother 💖
awesome!!
Maza aa gaya guru!!!
❤💯🙂👍
Kudos to your efforts ❤❤ superb video
Thanks ✌️
Superb
Bro I want to learn the same way you write css with variables and and all this way you implemented css please reffer me somehthing @RoadsideCoder
Will soon bring a tutorial!