React: Day 17
React: Day 17
React: Day 17

Here is the story, right now I am not in my home, I am currently dog sitting for a friend but the day I decided that I would be dog sitting, I told myself that I would still emphasize learning.

The good thing about today was that I ended up attending an interview, and it shed light on my situation, the situation is that I have a lot more to learn. …


React: Day 15

Wow! Today I got back into coding, practice sessions were great, but simply understanding and writing code feels better. Before, I used to think that coding was all about writing code, and you had to be good at typing, the typing part does help, but now I have come to an understanding that coding is more than that, it is more about analyzing the situation and coming up with the best solution.

Now, for today’s lesson, it was all about lifecycle methods. It took some time to get used to it, but now I have come to a deeper understanding…


React Day 8

On Day 8, I learned about class Components and while I was learning about it, I had to get a refresher on Classes in JavaScript.

//JavaScript classclass MyClass {
constructor(name){
this._name = name;
}
}

In the above code, I declared a class and inside it there is a constructor method, which gets called every time we initiate a new instance of the class. It might sound simple, but it took some time for me to wrap my head around it.

//JavaScript class new instanceconst class = new MyClass('James')

In the above code, we created a new instance…

Chanak Karki

Road to dev

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