Seishin's Life
  • Home
  • About Me
Sign in Subscribe

hooks

The useState() Hook: Practical Guide

The useState() Hook: Practical Guide

Do you know what is the difference between a class component and a function component in React? In this practical guide I will try to explain how the component's state is managed in both components after the second got on steroids! Stateful and Stateless components In the previous example, we
Atanas Dimitrov Nov 13, 2019
Dynamic switching of themes in React Native App: The funky way with hooks! 👌

Dynamic switching of themes in React Native App: The funky way with hooks! 👌

In February I posted an article with example of how to switch React Native Paper themes dynamically via the recently introduced Context API. Today, I will try to rewrite the example with the latest big thing in React world - React Hooks! I'm so excited about this addition since writing
Atanas Dimitrov Nov 11, 2019
React Hooks: Gentle Introduction! 🚀

React Hooks: Gentle Introduction! 🚀

In this article I'll try to explain in a simple way what are the React Hooks and why it's good to use them when developing your React/React Native apps. Since React 16.8.0, there is a new way of calling async code in a really elegant way as
Atanas Dimitrov Nov 11, 2019

Subscribe to Seishin's Life

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
  • Sign up
Seishin's Life © 2023. Powered by Ghost