1 - Definition useLayoutEffect runs synchronously immediately after React has performed all DOM mutations. This can be useful if you need to make DOM measurements (like getting the scroll position or other styles for an element) and then make DOM mu...
1 - Define Your Goals The first thing you need to do is defining what you want to do to keep you motivated. It can be working full time in a developer job or learning a new language. 2 - Create a Schedule Then give which time of the day/week you can...
1. Push Your Code to Any Version Control Applications The first thing you need to do is push your git repository to any version control application. You can use any one of these; Github Gitlab Bitbucket 2. Register to Netlify Once you have a reposi...
1. Surge Surge is a cloud platform for hosting static websites, which is extremely simple to use but offers customization options for those who need them. 2. Firebase Firebase Hosting is a fully managed hosting service for static and dynamic content...
1- findIndex The findIndex() method returns the index of the first element in the array that satisfies the provided testing function. Otherwise, it returns -1, indicating that no element passed the test. const array1 = [5, 12, 8, 130, 44]; const isL...
1. Definition useRef is a built-in React hook that accepts one argument as the initial value and returns a reference (aka ref). A reference is an object having a special property current There are two main uses of useRef; Accessing the DOM nodes or...