This site has been updated.
Reload to display the latest version?
(click here)

Tag:  react

Lazy load components in React

25 November, 2018
Lazy loading in React was always possible. It wasn’t so clear how to do it properly and how to handle all edge cases, as well as how to find all of them, because, like many things in life, we need first to encounter the problems, and only then can we be ready to handle them properly. Since React version 16.6 we have had and - helper function and helper component that have come to the rescue, and which promise to make it easier to deal with the lazy load. But first, let’s see what is the…

Reducing boilerplate in React + Redux app

22 November, 2018
First, let’s see what is the problem, then we’ll discuss possible solutions and, in the end, we’ll compare the solutions that already exist in the market. Why in this order and why not go straight to the last point? Well, first you’re more than welcome to jump right to the end and second, I just don’t think that the solution is so easy to grasp. Anyway, as I said, let’s see how we build a React-Redux application. Usually, for each ajax call, we need 3-4 different files. Those files that hold…