Hi, I'd already uploaded one complete real time application video with node nd express as a backend. Video title will be (MERN Stack Full Tutorial for Beginners (MongoDB, Express, React, Node.js) in Telugu) Please watch it bro, for sure it helps you :)
Hi, Not too safe to have jwt token in local storage, because any of the third-party scripts you include in your page is compromised, it can access all your users' tokens. So, to keep your application more safer side, you can store JWTs inside an httpOnly cookie. Hope this helps you :)
Hi, Hoc.js file is functional component, it returns class component. That class component returns (function App.js which we got as input parameter) Hope this helps you :)
In general scenario 1. Direct declaration of function inside a function 2. Direct declaration of class inside a class 3. Direct declaration of function inside a class 4. Direct declaration of class inside a function All not possible due to (not a valid React child), But all this cases are possible in Wrapping scenario. For example: In Hoc concept wrapp the export component as below -> export default Hoc(App); ( valid React child) Please note : Even in wrapping scenario, we should not use name of class or function for example : In 1st scenario and 4th scenario 1. Direct declaration of function inside a function function App(){ return ( function(){ // not using function name return Not using function name } ) } 4. Direct declaration of class inside a function function App(){ return ( class extends React.Component(){ // not using class name render(){return Not using class name } } ) } Please note : above scenario possible only in Wrapping scenario please don't try in regular scenarios, it throw errors hope this helps :)
Hi @Kamarajugadda Manjula Here, is (App.js) that we are taking it as input parameter to HOC component. lets say const HOC = (component) =>{ // above taking (component parameter is ) } The value which we export by wrapping HOC(), that is Hope it helps :)
This is the best tutorial about this concept that i have seen. thank you alot
Thank you so much bhayya, u made it with easy understanding and the example was very good
Chala simple ga explain chesaru
super bro,continue viddeos daily ,we are with you
Brother Please Make Videos on SpringBoot... I Started Learning SpringBoot From Ur Video 😍 #That Voice And That Way Of Explanation 👌
Very nice explaination
Thank you for clear explanation and got clear idea about HOC. Expecting more videos from you regarding React
Good explanation, Please upload more videos
Useful tutorial anna..
Good explanation. It would have been much better with login and logout button.
Thank you bro 🙏🙏🙏
Frequent ga videos cheyu bro 👍
We can use jwt token wright ?
We have authentication why we need to use can u explain
if possible do one real time application on react with backend like node nd express....🙏🙏🙏
Hi,
I'd already uploaded one complete real time application video with node nd express as a backend. Video title will be (MERN Stack Full Tutorial for Beginners (MongoDB, Express, React, Node.js) in Telugu)
Please watch it bro, for sure it helps you :)
Can we save jwt token in local storage in the browser is it good practice??? Please help me 👍
Hi,
Not too safe to have jwt token in local storage, because any of the third-party scripts you include in your page is compromised, it can access all your users' tokens.
So, to keep your application more safer side, you can store JWTs inside an httpOnly cookie.
Hope this helps you :)
💗💗💗
Anna HOC.js file function component aa ...class component aa anna ardham kaledu plz explain
Hi,
Hoc.js file is functional component, it returns class component.
That class component returns (function App.js which we got as input parameter)
Hope this helps you :)
Bro react ochu kani job ledhu
Em cheyali 😢
Function component lo class keywork use cheyacha anna naku ardham kaledu plz explain anna
In general scenario
1. Direct declaration of function inside a function
2. Direct declaration of class inside a class
3. Direct declaration of function inside a class
4. Direct declaration of class inside a function
All not possible due to (not a valid React child),
But all this cases are possible in Wrapping scenario.
For example: In Hoc concept wrapp the export component as below
-> export default Hoc(App); ( valid React child)
Please note : Even in wrapping scenario, we should not use name of class or function
for example : In 1st scenario and 4th scenario
1. Direct declaration of function inside a function
function App(){
return (
function(){ // not using function name
return Not using function name
}
)
}
4. Direct declaration of class inside a function
function App(){
return (
class extends React.Component(){ // not using class name
render(){return Not using class name }
}
)
}
Please note : above scenario possible only in Wrapping scenario
please don't try in regular scenarios, it throw errors
hope this helps :)
anna debounce and throttling topic explain chaindi.
Hi anna what is
Hi @Kamarajugadda Manjula
Here, is (App.js) that we are taking it as input parameter to HOC component. lets say
const HOC = (component) =>{
// above taking (component parameter is )
}
The value which we export by wrapping HOC(), that is
Hope it helps :)