code-spliting in React

When we work on a large-scale project managing bundle is became a common problem. The browser needs to load the whole bundle then render data. To solve this issue code-splitting works like a gem.

Import(): Dynamic import load bundle when it needs to access. To separate it from the main…

--

--

react

The most popular JavaScript tool is now React. And, How it keep its supremacy? I found some interesting reasons for that. I going to demonstrate it here.

Component: React is all about components. For every single task, you can add components. We can create content in two ways class base…

--

--