Tech blog of j-labs' engineers. Experiences, knowledge, solutions.

Creating a custom hook!

In this article, you will see, how to use that knowledge to convert class component, which gets data from JSONPlaceholder into functional component based on hooks. Then you will learn, how to separate logic from component into a custom hook!

Bartłomiej Szajewski |

11 Sep 2020

  React 
Read more
3

Creating a custom hook!

11 Sep 2020 | Bartłomiej Szajewski

  React 

In this article, you will see, how to use that knowledge to convert class component, which gets data from JSONPlaceholder into functional component based on hooks. Then you will learn, how to separate logic from component into a custom hook!

Read more
4

Quick look at Preact

22 Jul 2020 | Jacek Mazgaj

As the growing advancement of web technologies, client web applications aim to provide user experience to as close as possible to the native applications (see the PWA term). 

Read more
5

UseEffect hook

27 May 2020 | Bartłomiej Szajewski

If you want to fully switch from classes to functional components with hooks, you need to not only get the knowledge about handling state within component, but also how to perform side effects. The answer is pretty simple, you need to learn useEffect hook!

Read more