Follow me!: Follow @EricTheCoder_
I don't use React often and so whenever I need to do even the smallest thing in React, I have to check out the...
For further actions, you may consider blocking this person and/or reporting abuse
I found small mistake in "e for event arguments":
This won't work because you pass string as an argument
There are two ways how to do it:
1.
2.
Ok thanks I made the correction
Thanks! Will use
Exactly
thanks--helpful post.
there's a typo: import {Greeting} from './Gretting'
This post was amazing actually it is hard to find all essenstial things of any particular technology at one place. You almost covered all topics that a beginner should know but I think u should have also added the routing topic.
Super in-depth post! I just launched a site bitcoinforecast.io and I developed it myself using React. Your post covers the strategies I used to built the app. "Props" off to you ;) pun intended.
I think, the word
deconstructing
needed to be changed asdestructuring
Yeah good catch. Thanks.
Thanks a lot that's very helpful!
There is one thing I don't understand in this part from 'setState functional form' though:
I don't understand why we'd use the functional update of setState without its count param:
setCount(() => count - 1)
.I would understand if we used the count param from setCount:
setCount((count) => count - 1)
, to make sure we use the lastcount
valueAm I missing something? :)
Your version is accurate. The point of using functional form is to ensure you get the most current state value and not the stale one (as in the original version).
Thank you for this post
You might also like: How to Master Python Fast and easy: A complete simple Tutorial based on the officiel documentation
Can you provide next parts please? If possible add link to this so we can access it easily.
Can you add Reducer and Context?
There is multiples examples without only one root element in a return.
Anyway thanks for this good sharing 👍
Thank you posting
this component will not work.
const Person = (name, age) => {
return (
Name: {name}, Age: {age}
)
}
should be
const Person = ({name, age}) => {
return (
Name: {name}, Age: {age}
)
}
Fixed. Thanks
Very helpful, thanks
Thank you so much..
First of all this is not 2021 cheat sheet FYI I am using all this from the end of 2019.
Please be sure before ur posting anything it's not 2021 cheat sheet
Thanks
Wow! very useful and informative post
Thank you for this post Eric
Really nice and useful, thanks!
Great post.
This is a great detailed list.
Well done... It's not an easy task to make such compilations across topics