Hajk icon indicating copy to clipboard operation
Hajk copied to clipboard

Pending dependency upgrade needs action: react-number-format

Open jacobwod opened this issue 3 years ago • 0 comments

I'm about to bump some dependencies in develop, but this one needs some attention due to changed API.

  ◉ react-number-format              ^4.9.4  →  ^5.0.1

Can @linusfj have a look? Here is some helpful info: https://s-yadav.github.io/react-number-format/docs/migration/.

Consider removing this dependency entirely as thousand separator formatting can be achieved more easily using the Intl API. E.g. try:

> new Intl.NumberFormat('sv-SE').format(1234567.1234567)
< "1 234 567,123"

jacobwod avatar Oct 07 '22 08:10 jacobwod