ALAbarah Lawenceincodeway.hashnode.dev·Aug 8, 2023 · 1 min readLet's Talk About Axios and how to use it in our projectAxios is a third-party and promised-based javascript library that is used to send HTTP requests. It is an alternative to the fetch() function. Where do we make HTTP requests? In a class component, requests are made in the componentDidMount() lifecycl...00
ALAbarah Lawenceincodeway.hashnode.dev·Aug 5, 2023 · 2 min readAll you need to know about Destructuring in javascriptDestructuring is a way you can extract data from arrays or objects and give them a name. let's imagine I have an array like this: const names = ["Emeka", "Felicia", "Kayla", "Nancy"]; I may want to put the first value in a variable. We can say: cons...00
ALAbarah Lawenceincodeway.hashnode.dev·Jul 31, 2023 · 1 min readJavascript ClosureClosure in javascript is simply a function that has access to variables outside of its scope. Let's see an example below, in the example we see that the increment function has access to the value variable outside of it. This means that const incremen...00
ALAbarah Lawenceincodeway.hashnode.dev·Jul 3, 2023 · 1 min readThe Spread operatorThe spread operator allows you to expand iterable objects like arrays or objects. You can imagine it gets the data inside the brackets or curly braces and puts it somewhere else. The spread operator is represented by three dots ... In this code, we u...00
ALAbarah Lawenceincodeway.hashnode.dev·Jun 23, 2023 · 1 min read5 tips For learning To Code.Practice With Real Projects: Find a client who needs something building. It doesn't need to be a big project, as long as you are getting experience completing real tasks Engage With The Community: being part of a community of developers motivates yo...00