Let'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...1 min read·codeway.hashnode.devAug 8, 2023
All 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...2 min read·codeway.hashnode.devAug 5, 2023
Javascript 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...1 min read·codeway.hashnode.devJul 31, 2023
The 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...1 min read·codeway.hashnode.devJul 3, 2023
5 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...1 min read·codeway.hashnode.devJun 23, 2023