Buka Corner
  • Home
  • Topics
  • Online Tools
  • Careers
  • Support Us
  • About
  • Buka
Sign in Subscribe

React

React Hook Tip: Handling Events Directly for Cleaner Code

React Hook Tip: Handling Events Directly for Cleaner Code

When starting out with React, the useEffect hook is often used for various side effects, like data fetching, subscription, or modifying the DOM. But what if I told you that using useEffect for handling state updates might not always be the best approach? In fact, you can make your React
Buka Corner Oct 12, 2024
Building React Applications Without a Build Step or Framework: A Simple Approach

Building React Applications Without a Build Step or Framework: A Simple Approach

In a world where modern web development often comes with complex build tools, package managers, and configuration files, some developers may feel overwhelmed by the number of steps needed to get started with React. What if you could bypass these build tools entirely and write React code directly in your
Buka Corner Oct 5, 2024
Optimizing Initial State in React with useState

Optimizing Initial State in React with useState

Saw this on X. Just saw this performance mistake in a React code review. Problem: If you invoke a function in useState's default, it's called on every render. (Not React's fault - that's how JS works). Solution: Specify a function reference instead.
Buka Corner Oct 3, 2024

Subscribe to Buka Corner

Don't miss out on the latest articles. Sign up now to get access to the library of members-only articles.
  • Sign up
Buka Corner © 2025 - All Rights Reserved.