Zach Snoek

  • Blog
  • Contact

Posts about "react"

useReducer reducer functions without the switch

November 30, 2022

useReducer is typically used with Redux-style reducer functions––but you don't have to do this!

How to build a chatroom app with React and Firebase

July 5, 2022

Build a realtime chat app with React and Firebase.

Converting values to boolean using !! (double NOT)

June 30, 2021

What is that weird !! thing in JavaScript?

Creating Custom React Hooks: useConfirmTabClose

March 29, 2021

How to create a custom React hook to confirm tab close with the beforeunload event.

Use hooks in class components with a render prop

February 28, 2021

Learn how to use React hooks in a class component.

Creating Custom React Hooks: useForm

November 29, 2020

Create a useForm hook to simplify form state management.


Subscribe for the latest news

Sign up for my mailing list to get the latest blog posts and content from me. Unsubscribe anytime.

© 2022 Zach SnoekCredits