Build a dark mode light mode in reactjs with context api

  Рет қаралды 19,591

Hitesh Choudhary

Hitesh Choudhary

7 ай бұрын

Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
All the learning resources such as code files, documentations, articles and community discussions are available on our website:
chaicode.com/
You can find our discord link, github link etc on the above website.
Twitter/X link: x.com/hiteshdotcom
Discord link: hitesh.ai/discord
Learn React with 10 projects: • Let's learn react from...
Learn Docker: • A practical guide on D...
Learn Kubernetes: • Complete Kubernetes Co...
How does a browser works: • How does a browser wor...
How nodejs works: • How node JS works | En...
Learn Redux-toolkit: • Learn Redux Toolkit in...
Learn NextJS: • Nextjs Full stack course
Learn Typescript: • Why to learn Typescript
Learn Javascript: • Welcome to new JavaScr...
Learn React Native: • React Native Mastery: ...
Learn Zustand: • React state management...
Learn Golang: • How to get started wit...

Пікірлер: 142
@muhammadjaffar4619
@muhammadjaffar4619 4 ай бұрын
I appreciate how well you communicate with students,[ Mr.Hitesh]. Your clear explanations and willingness to help us understand make a big difference in our learning experience.
@ishvarkanjariya2498
@ishvarkanjariya2498 7 ай бұрын
Your presentation style is so engaging and informative. I've learned so much from watching your videos. Keep up the fantastic work
@tamoghnadey
@tamoghnadey Ай бұрын
Your videos are great, having individual mini projects for each concept is very informative
@TheAremoh
@TheAremoh 7 ай бұрын
I like your teach style. Thanks for all you do for the community
@Gorav14
@Gorav14 7 ай бұрын
i am waiting.. though i didn't watch the other videos of this series...sir i went through your vlogs and courses, your channel seems like it can change my future
@badalsahani112
@badalsahani112 7 ай бұрын
Hitesh sir, you are the reason I started learning frontend. I was more of a backend person
@pawankand
@pawankand 7 ай бұрын
Thank you Hitesh for making this context api much eaiser to understand 🙂
@subuhifarooqui5165
@subuhifarooqui5165 15 күн бұрын
thanks Hitesh Sir....I am trying to start my career after a very long career break.....Your videos helps alot ....🙂🙂🙂🙂🙂
@serpercody5347
@serpercody5347 7 ай бұрын
Thank you for the great explanation Hitesh.
@ankushchavanwebdeveloper
@ankushchavanwebdeveloper 7 ай бұрын
Subject: Request for a Micro Frontend Series Dear Hitesh Sir, I hope this message finds you well. I wanted to express a suggestion that I believe would greatly benefit our community of learners. Could you please consider creating a series on MicroFrontends? Such a series would undoubtedly prove to be immensely helpful for everyone eager to enhance their knowledge in this domain. Thank you for considering my request, and I look forward to hearing your thoughts on this matter. Best regards, Ankush Chavan
@nica1
@nica1 4 ай бұрын
Thank you for all your hard work. You are helping so many people.
@nzubeokere3718
@nzubeokere3718 7 ай бұрын
You are doing a good job, learning a lot from you. Kudos!
@moizkhanbroadthinker6856
@moizkhanbroadthinker6856 7 ай бұрын
❤❤
@Adventures_English
@Adventures_English 4 ай бұрын
Very valuable videos. Thanks again, Hitesh!
@farzananipa1605
@farzananipa1605 2 ай бұрын
Your videos made my developer journey easier
@juanmacias5922
@juanmacias5922 7 ай бұрын
I was thinking that if you needed to use many stores, this could get a bit confusing, happy you acknowledged at the end that Redux Toolkit is favorable in those situations, haha great video though!
@Bhaskarjyoti02
@Bhaskarjyoti02 Ай бұрын
Thankyou so much for this amazing tutorial, need a little bit time to absorb it
@tanyaraj3129
@tanyaraj3129 3 ай бұрын
left the comment cause your content is very helpful for me love you guruji
@lordbeerus3310
@lordbeerus3310 7 ай бұрын
Sir plz make 1hr videos it would better for us also sir till now the journey was amazing, hoping to do major projects with you
@harishs1316
@harishs1316 4 ай бұрын
Thank you so much for the amazing series learnt a lot🤞
@murshid956
@murshid956 7 ай бұрын
Really helpful, waiting for next video.
@vosyasabesquien
@vosyasabesquien 4 ай бұрын
Thanks hitech. Very clear explanation about context api. I just got one question: what if i want to have two (global) contexts in main app.jsx? lets say 'theme context' and 'toast context' for the whole webapp. Then we just need to nest those two providers in app.jsx? Like .....
@736939
@736939 7 ай бұрын
Thank you Hitesh. It would be great to see TypeScript with React as well :)
@juanmacias5922
@juanmacias5922 7 ай бұрын
I've been doing these projects in TS myself, not much changes, you just need to add some types when asked to lol
@dolfieaspeling9893
@dolfieaspeling9893 5 ай бұрын
Keep going bro excellent series
@opencode1
@opencode1 Ай бұрын
hope you will make other videos like this, love it
@rajeshseemakurthi1595
@rajeshseemakurthi1595 5 ай бұрын
Awesome video for beginner Developers
@avi933
@avi933 7 ай бұрын
You are doing great work
@AliAhmed-vq8fi
@AliAhmed-vq8fi 8 күн бұрын
Thank you sir for such an amazing tutorial
@H_R_D
@H_R_D 5 ай бұрын
Thank you for your great content☺☺
@Eric-sy3dm
@Eric-sy3dm 4 ай бұрын
Thank you for the lesson ❤.
@user-kg4ug5gz8u
@user-kg4ug5gz8u 2 ай бұрын
love all your videos
@malikhaidi434
@malikhaidi434 3 ай бұрын
Thank you for such a valuable content
@041_ponranjithm6
@041_ponranjithm6 7 ай бұрын
Hitesh sir please come with multiple nested context with usereducer combination project bcoz in Internet most videos are just single context project humble request to you sir!!
@brunohenrard
@brunohenrard Күн бұрын
Again a great video !
@rezamash83
@rezamash83 3 ай бұрын
Awesome videos!!!
@morecoinbull
@morecoinbull 6 ай бұрын
hey man thanks for this video!!
@prasadpatil2371
@prasadpatil2371 7 ай бұрын
second method is very helpful where we create, aware & use the method in single file.
@rexraymond5039
@rexraymond5039 7 ай бұрын
awesome explanation
@Adventures_English
@Adventures_English 4 ай бұрын
Fun Fact: You can completely delete theme.js from the project and it still works fine. I imagine what was implented in App.jsx could also be moved into the object in theme.js?? Not quite following. Any insight greatly appreciated.
@AliAhmed-vq8fi
@AliAhmed-vq8fi 5 күн бұрын
Thank you soooo much
@amitbiswas54
@amitbiswas54 7 ай бұрын
Do you have react js series? Like your js
@webdevknight123
@webdevknight123 4 ай бұрын
Thank you❤❤
@birendrabohara959
@birendrabohara959 7 ай бұрын
Outstanding
@Moto_memoirs_45
@Moto_memoirs_45 5 ай бұрын
@hitesh, i just take some reference from your portfolio website, i found an ui related bug in your website in the video section, your video close btn is not working, thank you.
@ravianand6351
@ravianand6351 6 ай бұрын
Using vanilla javascript code, inside React isn't recommended right ??
@praveshverma0808
@praveshverma0808 2 ай бұрын
your are op sir
@samirrobin3524
@samirrobin3524 7 ай бұрын
Thank you so much❤❤
@NishanNepal-sg7yz
@NishanNepal-sg7yz 13 күн бұрын
Thanks for this
@user-en1pd3zc7e
@user-en1pd3zc7e Ай бұрын
Thanks a lot
@luce9574
@luce9574 3 ай бұрын
Thankyou for such great quality content
@ManasPant-gf3jv
@ManasPant-gf3jv 5 ай бұрын
Awesome
@harshit2629
@harshit2629 7 ай бұрын
Hi Sir, thank you for video, when I am trying to login into your app, it's showing it's blocked by admin, what's the reason? I tried multiple times Sir @ Hitesh Choudhary Sir
@anonlegion8331
@anonlegion8331 4 ай бұрын
Thank You
@jeevananthamn7532
@jeevananthamn7532 5 ай бұрын
good, thank you
@iBounty12
@iBounty12 3 ай бұрын
Thanks again
@srinivaspoosa8606
@srinivaspoosa8606 7 ай бұрын
superbb
@Hatsoff4u
@Hatsoff4u 5 ай бұрын
awesome
@OlaMovies-pj3dy
@OlaMovies-pj3dy Ай бұрын
Hitesh Paapi ❌Hitesh Choudhary✅
@mujahidulislamshaikh9664
@mujahidulislamshaikh9664 18 күн бұрын
Love you
@salmanfarshisajib6512
@salmanfarshisajib6512 3 ай бұрын
Nice👍
@user-oh8iq3do4u
@user-oh8iq3do4u 6 ай бұрын
great
@not_amanullah
@not_amanullah Ай бұрын
Thanks ❤
@user-kk1vu9tz8g
@user-kk1vu9tz8g 7 ай бұрын
hi hitesh from Turkey
@pearl-jp4vd
@pearl-jp4vd 4 ай бұрын
Why did we add this line darkMode: "class" in tailwind.config.js file at the end of the video ? What is the significance of this addition ?
@aadityapuri1061
@aadityapuri1061 2 ай бұрын
did you get it bro? cauz I have same doubt
@pearl-jp4vd
@pearl-jp4vd 2 ай бұрын
No bro , I hadn't researched after that. If you come across the explanation anywhere please let me know too.@@aadityapuri1061
@CodeNageShorts
@CodeNageShorts 2 ай бұрын
nice
@abhisheksankpal2
@abhisheksankpal2 7 ай бұрын
Hey Hitesh I bought pro backend course from lco but currently not able to acess it , I have mailed you details please look into it
@HiteshChoudharydotcom
@HiteshChoudharydotcom 7 ай бұрын
It’s now managed by ineuron. Please reach out to query@ineuron.ai for assistance. They own it now. 🙂
@ok98730
@ok98730 7 ай бұрын
@asingh5128
@asingh5128 7 ай бұрын
i hvae taken the react js course on lco, but not able to login. i have also written several mails but no action taken
@harshit2629
@harshit2629 7 ай бұрын
Same with me also
@brkrvisions780
@brkrvisions780 7 ай бұрын
hi, I have a problem with my LCO account it is not showing my content, is it a server issue or what
@brkrvisions780
@brkrvisions780 7 ай бұрын
Waiting for the reply
@brkrvisions780
@brkrvisions780 7 ай бұрын
If any issues please release as soon as possible
@HiteshChoudharydotcom
@HiteshChoudharydotcom 7 ай бұрын
It’s now managed by ineuron. Please reach out to query@ineuron.ai for assistance. They own it now. 🙂
@albi712
@albi712 7 ай бұрын
Hello Sir, not able to access our LCO courses. I have dropped couple of mails but no response from support team. There was no official mails notifying blocking our access. I have seen in the comments section few other people's also having same issues. If you see this message, could you please tell us what's happening.
@srikarkulakcherla2202
@srikarkulakcherla2202 7 ай бұрын
Same with me, absolutely pathetic support.
@joebenterryk2050
@joebenterryk2050 7 ай бұрын
@@srikarkulakcherla2202 I have the same issue. They are not even responding and its been weeks now
@SudhirVetri
@SudhirVetri 7 ай бұрын
same issue for me as well, Please act quickly
@albi712
@albi712 7 ай бұрын
@@SudhirVetri I don't think issue will be resolved. From what I learned, physics wallah bought INeuron and LCO. Since then access has been revoked. Don't think they will give the access. They just ruined the good platform.
@albi712
@albi712 7 ай бұрын
@@SudhirVetri I don't think issue will be resolved. From what I learned, physics wallah bought INeuron and LCO. Since then access has been revoked. Don't think they will give the access. They just ruined the good platform.
@AmitSaini-ew7ep
@AmitSaini-ew7ep 16 күн бұрын
now im here
@debjit21
@debjit21 7 ай бұрын
Frankly I enjoy "chai aur code" more.
@Ashutosh_Kumar17
@Ashutosh_Kumar17 13 күн бұрын
Lijiye sir kr diya comment
@temitopedavid9508
@temitopedavid9508 7 ай бұрын
❤❤❤❤
@ishaanbajaj2229
@ishaanbajaj2229 7 ай бұрын
I am an unable to buy course from your official website
@Ayushsharma-xn5hg
@Ayushsharma-xn5hg 7 ай бұрын
Sir app to Japan m ho too app vha se live ho
@sravantp03
@sravantp03 7 ай бұрын
@jgappy
@jgappy 3 ай бұрын
🌎
@anisharma3307
@anisharma3307 3 ай бұрын
❣️
@tinagoldstein1208
@tinagoldstein1208 2 ай бұрын
🎉
@MittuRohith
@MittuRohith 2 ай бұрын
👌
@roohankhan4203
@roohankhan4203 6 ай бұрын
❤❤❤
@AnkitTanwarUPSC-eo6dk
@AnkitTanwarUPSC-eo6dk 7 ай бұрын
Bhiya apse milna hi jecrc university mai I m in btech 1st year cse
@user-lu4ss1hr1c
@user-lu4ss1hr1c 5 ай бұрын
👏👏👏👏👏
@louesauveurchristian7261
@louesauveurchristian7261 3 ай бұрын
💌
@aswinashokan1604
@aswinashokan1604 Ай бұрын
@btissamchaibi9015
@btissamchaibi9015 4 ай бұрын
Where's the GitHub repository
@shubhamjangid5936
@shubhamjangid5936 4 ай бұрын
EROOR -> darkTheme() is not triggering CODE -> function App({ children }) { const [themeMode, setThemeMode] = useState("light"); const darkTheme = () => { console.log("darkTheme"); setThemeMode("dark"); document.body.setAttribute("data-theme", "dark"); }; const lightTheme = () => { setThemeMode("light"); document.body.setAttribute("data-theme", "light"); }; return ( {children} ); }
@yogeshjangid3696
@yogeshjangid3696 7 ай бұрын
Hello Sir, Sorry I am disturbing you here, but I am not able to access my courses in LCO Platform. When I login with my account then it's shows that I can't access my course and contact admin. I mailed you and also raised a ticket in LCO platform but no response. May you please help me resolve this issue. #LCO ♥
@albi712
@albi712 7 ай бұрын
PW just acquired LCO from ineuron. Its no longer in SIR's hands. I just came to know that now. We just lost a good content. Better look for something else.
@harshit2629
@harshit2629 7 ай бұрын
​@@albi712same here, not able to access on app through gmail
@-UPH-KRISHNAM
@-UPH-KRISHNAM 6 ай бұрын
@@albi712 do you think Sir has no responsibility over my money just because I paid for it at the moment he was handling it? do you think that money was easy to earn? the money which I paid was my effort and time and energy, so easy of you to defend your sir. did he just handed over the platform for free?
@albi712
@albi712 6 ай бұрын
@@-UPH-KRISHNAM just like you I paid for a course and was not able to access it. Sent out couple of mails but no response from anybody. Later I came to know a comment from SIRs Instagram account saying that not in their hands since it's been acquired by ineuron and sold it to someone else.
@albi712
@albi712 6 ай бұрын
@@-UPH-KRISHNAM I m not defending anyone. Just that no one is taking responsibility for the money we paid for the course or access issues. Maybe u can try sending mails to support but no one is going to reply back.
@rabingurung9072
@rabingurung9072 2 ай бұрын
😍
@devaprem7777
@devaprem7777 7 ай бұрын
@ShubhamSharma-nr7kw
@ShubhamSharma-nr7kw Ай бұрын
just leave a comment
@thespiderbaba4929
@thespiderbaba4929 3 ай бұрын
👌👌👌👌👌👌👌👌
@GovindKumar-xj9yw
@GovindKumar-xj9yw 6 ай бұрын
🚀🚀🚀🚀🚀🚀
@gm1372
@gm1372 4 ай бұрын
🙂
@sharadbhadait9277
@sharadbhadait9277 7 ай бұрын
👋👋🥳🥳
@yashvijaybombale6896
@yashvijaybombale6896 7 ай бұрын
Code aur Chay
@veerabubali2245
@veerabubali2245 21 күн бұрын
hi
@user-yv1fz8hg2o
@user-yv1fz8hg2o 7 ай бұрын
@ahmadmj8668
@ahmadmj8668 4 ай бұрын
🏛🕓
@Just_For_U_DeeR
@Just_For_U_DeeR 7 ай бұрын
❤❤❤❤
14 Context API with local Storage
1:08:19
Hitesh Choudhary
Рет қаралды 10 М.
You’re doing dark mode wrong!
7:54
Coding in Public
Рет қаралды 42 М.
Teenagers Show Kindness by Repairing Grandmother's Old Fence #shorts
00:37
Fabiosa Best Lifehacks
Рет қаралды 43 МЛН
Glow Stick Secret (part 2) 😱 #shorts
00:33
Mr DegrEE
Рет қаралды 52 МЛН
[Vowel]물고기는 물에서 살아야 해🐟🤣Fish have to live in the water #funny
00:53
Context API in react | get the concept
29:00
Hitesh Choudhary
Рет қаралды 37 М.
Why you need hooks and project
19:27
Hitesh Choudhary
Рет қаралды 13 М.
Light Dark Mode React - Without Any Libraries
13:50
Monsterlessons Academy
Рет қаралды 8 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
Git merge and git conflicts
39:37
Hitesh Choudhary
Рет қаралды 14 М.
Apple, как вас уделал Тюменский бренд CaseGuru? Конец удивил #caseguru #кейсгуру #наушники
0:54
CaseGuru / Наушники / Пылесосы / Смарт-часы /
Рет қаралды 4,1 МЛН
How Neuralink Works 🧠
0:28
Zack D. Films
Рет қаралды 31 МЛН
Обзор игрового компьютера Макса 2в1
23:34