3 React Concepts Which Can Be Forgotten

2 min read

React has evolved over the years and some concepts were replaced by better ones. 1. Using classes Every time we wanted to use state or take advantage of lifecycle methods we had to compose a Javascript class to create a React component. Even if we did not have a need to use these features we were choosing a class in advance, because you never know when your component will demand a state or side effects. Fortunately, early 2019 React 16.8 was released with the feature of hooks. React hooks provides us an ability to replace a state with useState hook which is much handier than the previous state concept…....

This article is free to read

Login to read the full article


OR
Ignas Poska I am a fresh software engineering graduate, IT hooked me a long time ago. This is mostly what I do in my working days: working with the informational systems and web. This does not end by the wall of the office - in my spare time I like to improve my skills and learn something new daily. Reading books/articles, listening for podcasts, developing stuff. It's not easy to find a decent amount of time for that, but I am trying to make that my daily ritual.

Follow DDI

Gain Access to Expert Views

We won't send you spam. Unsubscribe at any time.