react-phone-number-input icon indicating copy to clipboard operation
react-phone-number-input copied to clipboard

performance optimization

Open SamNjuguna-tech opened this issue 2 years ago • 1 comments

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

SamNjuguna-tech avatar Oct 27 '22 21:10 SamNjuguna-tech

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: @.***>

catamphetamine avatar Oct 27 '22 23:10 catamphetamine