React: Day 27

React: Day 27

It is the 27th day and I learned a lot today. I learned about function components and after that I learned about the state hook and how to use it. I have to say, the people who came up these tools are amazing.

Then I learned how to set state using different code snippets


1️⃣ const handleEvent= (event) => {
const newEvent = event.target.value;
setEvent(newEvent)
}
2️⃣ const…

Road to dev

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Chanak Karki

Chanak Karki

Road to dev

More from Medium

Netlify. How to deploy React.js or Storybook app.

Everything you really need to know about React keys

How to Check the Version in React?

How to check the version in reactjs by Rajdeep Singh

Setting Up React Router