Комментарии:
I have watched and practiced all your videos on react from basic, render, hooks, api call etc for the past 3 weeks now and I can proudly say I can work on some projects. I didnt want to rush on projects without learning react. I am a backend developer the the love for react and it wonders are overwhelming. Thank you very much.
ОтветитьIn this part my code seems ugly and in my case it did not work and tells error
App.jsx:7 Uncaught TypeError: Cannot read properties of undefined (reading 'createContext')
Still I am going in next episode.
🙏👍
ОтветитьIs there any way to change the state from inside the context? What practice is best for that? Thanks in advance.
ОтветитьMan! You are the best .
Codevolution rocks!!!
UserContext -> Provider, Consumer
more nesting
Best Context tutorial I’ve found to date.
ОтветитьExcellent video. You're absolutely a gem!!
Ответитьimport ComponentC from './components/ComponentC'
Ответитьmy go-to teacher when i'm having issues
Ответитьlearn lot from you
Ответитьthabsl y
ОтветитьNot sure who taught you how useContext works but this is outright wrong and far more convoluted then it needs to be
ОтветитьGreat
ОтветитьHow to create a context in Login component and make use of the login details in all other components? In this tutorial the context is created in App component and used in all other components. Please create a video to creat context in other components and make use of everywhere in the project. @codevolution
ОтветитьYou made it so easy. Thank you so much. I subscribed
ОтветитьExcellent!
Ответитьwhy did you not targeted directly component F instead of component C
Ответитьgod save us from callback hell:((
ОтветитьError : 1. mention :: import {UserContext} from '../App' error showing ::: ./src/component/ComponentC.js
Module not found: Can't resolve './ComponentE' in '/home/kulbhushan/Desktop/React/route/src/component'
PLEASE HELP ME NOW
It' is full complete tutorial?
Ответитьis it a bad practice to use one Context only and pass in all the data that you need as a value so we dont need to use nested provider and consumer?
ОтветитьThank you!
ОтветитьClear and concise, your explanations work! Thank you.
ОтветитьI was thinking you were going to go into Redux but today I learned about React.Provider/React.Consumer ! I had no idea.
ОтветитьI dont see the output at all!! i wrote the same code!!
Ответитьvery good instructor
ОтветитьIt's a very good thing to understand how things work under the hood, in addition to the available libraries. I'm following this playlist and things really got ugly here, but this content is really great to know about. Thank you for the great <Content.Provider> you do here 😅😁
ОтветитьSir, I know i am late but i need just a little help. How can we enter multiple values in the <UserContext.Provider> , Please let me know. Supported on Paypal .
Ответитьyou are the best!
ОтветитьInstead of creating multiple context providers, can't we pass the props as objects, & retrieve it accordingly using context consumers?
ОтветитьYou're an amazing teacher! I had seen a lot of videos but I didn't get it. Your videos are so useful! Thanks!
Ответитьhi, i have doubt as in class level we can pass data as prop to child , is it possible to pass data from parent to child in function ?
ОтветитьInstead of creating one UserContext and one ChannelContext, can you not create just one context and pass the values as an object? Then you don't need to have nested context. Or am I missing something?
const DataContext = React.createContext()
<DataContext.Provider value={{user:'Vishwas', channel:'Codevolution'}}>
// Component code here...
</DataContext.Provider>
You are so good. Please make a series on Context API
ОтветитьDon't forget that in the original context system if you wanted to use the context data in the lifecycle methods you would have to wrap the component in an additional component then pass the data down as props. This was also very annoying since I remember many times when I had to do just that.
ОтветитьWow! Thank you so much for distinguishing context from useContext hook! That made things a lot clearer.
Great tutorial!
I simply cannot think of anyone else that could pull off SUCH a great tutorial with all your examples that you come up and those attractive phrases that you see on tv : 'If there was only a better way to do this'!
I'm sold! I like your content bruh!
Thank you Vishwas. This series is a breath of fresh air. Well done
ОтветитьExcellent video. Thank you for demonstrating multiple contexts. Most educators do not go this far. Your tutorial is more comprehensive and better relates to real-life challenges. Great work!
ОтветитьI watch all reactjs tutorial.. your awesome....
Ответить