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

reactjs

React Newbies Guide: Efficiently Managing DOM Elements and Persistent Variables with the useRef Hook

React Newbies Guide: Efficiently Managing DOM Elements and Persistent Variables with the useRef Hook

The useRef React hook is a powerful tool that allows you to create and manipulate references to DOM elements and other values within your components. This can be extremely useful when working with forms, animations, and other complex user interactions. In this article, we’ll explore the two most common
Atanas Dimitrov Jan 20, 2023
React Newbies Guide: How to Use useMemo for Expensive Calculations and Complex State Management

React Newbies Guide: How to Use useMemo for Expensive Calculations and Complex State Management

Working with Expensive Calculations One of the most common use cases for useMemo is when working with expensive calculations or operations that do not need to be performed on every render. For example, imagine you have a component that displays a large dataset and needs to calculate the average value
Atanas Dimitrov Jan 20, 2023
How to access Firestore subcollections with react-redux-firebase

How to access Firestore subcollections with react-redux-firebase

I would like to share with you a code snipped of how to access subcollections in the Cloud Firestore database. Lets say we have this structure: - Users      |    -- Tasks Our exercise is to access the tasks list of a certain user. import { compose } from "redux"; import { connect } from "react-redux"
Atanas Dimitrov Jun 19, 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