Map() method that allows to loop through an array and creates a new array with the results of calling a function for every array element
ForEach() method calls a function once for each element in an array, in order. Note: the function is not executed for array elements without values.
Filter() method creates an array filled with all array elements that pass a test (provided as…
Quick Introduction to hooks
React Hooks are introduced to the world in 2018 by React team
Check out the React Hooks documentation: https://reactjs.org/docs/hooks-intro.html
What we are going to cover
Context is designed to share data that can be considered “global” for a tree of React components, such as the current authenticated user, theme, or preferred language.
Context API prompts a re-render on each update of the state and re-renders all components regardless. Redux, however, only re-renders the updated components. This can be monitored on the console as there’s a log in each component.
<link rel=”stylesheet” href=”https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity=”sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p” crossorigin=”anonymous”/>
npm i react-bootstrap
Today I just want to share with you what I have learned from using D3.js.
Firstly use the lasted D3 because you are going to run into some problems if you use the old versions. As for now, the latest version is this one https://email@example.com/dist/d3.min.js.
If you are a beginner I recommend you follow this youtube tutorial https://youtu.be/_8V5o2UHG0E This man is good at explaining…
Redux is very complex for a beginner to understand. I remember when I first started, it was a complete disaster. Today I just want to take you through the steps to get started with Redux in your app
Redux is a state management tool mostly used with React. It is similar to Vuex for Vue.js
First things first, Why use Redux
In an app where data is shared among components, it might be confusing to actually know where a state should live. …
I just want to share with you guys what I learned about CSS. I have been struggling to master CSS especially to design a responsive layout. Here are some of the tips I found to be useful and some resources.