catamphetamine / react-phone-number-input

React component for international phone number input
http://catamphetamine.gitlab.io/react-phone-number-input/
MIT License
915 stars 193 forks source link

performance optimization #418

Open SamNjuguna-tech opened 1 year ago

SamNjuguna-tech commented 1 year ago

This component reloads every time the input changes. is there a way to change the component from using useState() to useRef;?

catamphetamine commented 1 year ago

No it doesn’t

On Fri, 28 Oct 2022 at 00:25, SamNjuguna-tech @.***> wrote:

This component reloads every time the input changes. is there a way to change the component from using useState() to useRef;?

— Reply to this email directly, view it on GitHub https://github.com/catamphetamine/react-phone-number-input/issues/418, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADUP34OBBIOTDLFU7ZYSI3WFLXOFANCNFSM6AAAAAARQPCJKY . You are receiving this because you are subscribed to this thread.Message ID: @.***>