Remix.run Logo
chowells 7 hours ago

It's definitely a shock when something else changes the date object you've been holding on to. The problem with mutable values has never been when you (that is, the local context) change them. It's always that you can't trust that nothing else (some very non-local code) does.

petesergeant an hour ago | parent [-]

That’s how every other object works, why would that be surprising?

kortilla 20 minutes ago | parent [-]

The lack of const means having objects as arguments is pretty dangerous