“this” in JavascriptKeyword “this” in Javascript refers to the object that the function is property of.Aug 9, 2023Aug 9, 2023
Why use useReducer()?Reducer, as the name suggests, is there to “reduce” the code. More specifically, you can move the state-related logics in one function…Feb 3, 20231Feb 3, 20231
When to use useContext()?In React.js, using useState() is fairly intuitive. If there is a piece of data that changes with interaction with user, you can put it in…Feb 1, 2023Feb 1, 2023
Tips for junior developersHere are some important lessons I’ve learned working as a web/mobile developer for 5 years.Nov 3, 2022Nov 3, 2022
Don’t use console.log(object)Console.log() is asynchronous, so the value of the obj you are seeing when it is called are constantly changing, and does not accurately…Nov 2, 2022Nov 2, 2022
Vue.js from React developerI only have had experience in React.js and React Native, but recently, I took on a project that uses Vue.js.Oct 11, 2022Oct 11, 2022
Polymorphism in JavaPolymorphism means “many forms”, and is one of the four pillars of object-oriented programming.Sep 6, 2022Sep 6, 2022
RESTful APIREST, which stands for representational state transfer, is just a set of architectural constraints for API, in order to help clarify and…Aug 31, 2022Aug 31, 2022
Abstraction in JavaAbstraction hides non-essential implementation and expose simpler interface.Aug 30, 2022Aug 30, 2022