cleave.js icon indicating copy to clipboard operation
cleave.js copied to clipboard

stop mutating options prop in react component

Open HelveticaScenario opened this issue 1 year ago • 0 comments

This fixes a bug where the react component will mutate the options object it gets as a prop, which is strongly frowned upon and can cause strange behavior when you expect this object to be readonly.

HelveticaScenario avatar Apr 13 '23 01:04 HelveticaScenario