You may need to interface with RESTful API for your project. Axios is a lightweight and promise based library to perform HTTP requests. Let’s start by adding axios to our react project In order to add axios to your project, go to command line. Change your directory to your project directory where you want to […]
7 Most Commonly used Array Methods in React
React is the most popular front end library. Knowing most commonly used array methods makes the development process easier. map() -function returns the new array where it takes a function that will be triggered on each element of the provided array. function takes first argument as each element of an given array. The second argument […]
Include Sass to React Application
You can style your application using plain CSS but Sass has much better features like variables, mixins, nesting and much more which makes is easy to write CSS. Let’s start with installing it to your react project. In your command line, go to your project directory and execute the below mentioned command. Restart your application […]