⬅︎ Back to Format numbers with numberWithCommas() or Number.toLocaleString()
Something to be very aware of is that if you have a universal React (server-side) app, then `toLocaleString` will obviously yield different results on the initial render compared to consecutive renders in the client. That might be really gross.
Comment
Something to be very aware of is that if you have a universal React (server-side) app, then `toLocaleString` will obviously yield different results on the initial render compared to consecutive renders in the client. That might be really gross.