Create useTransition custom hook using useReducer in react 17 version

334 views Asked by At

I know that useTransition hook was created using a function called flushSync in react 18 version.

Can't I use this as a custom hook in react 17 version?

Due to my lack of knowledge, I haven't tried it.

0

There are 0 answers