omarsaade
omar's blog

omar's blog

Error message

Error message

Effects callbacks are synchronous to prevent race conditions

Effects callbacks are synchronous to prevent race conditions

The event listener click comes after blur in priority.

The event listener click comes after blur in priority.

Form field validations

Form field validations

useRef or useState, which is better?

useRef or useState, which is better?

Prevent Default and Form Events

Prevent Default and Form Events

useRef vs event.target.name.value

useRef vs event.target.name.value

Function = Object

Function = Object

Adjusting the Custom Hook Logic

Adjusting the Custom Hook Logic