▲ | fizx 4 days ago | ||||||||||||||||
Also, your function needs to be very careful on closures. Date.toLocaleString and many other js functions will be different on client and server, which will also cause silent corruption. | |||||||||||||||||
▲ | kentonv 3 days ago | parent [-] | ||||||||||||||||
If you invoke `Date.toLocaleString()` in a map callback, it will consistently always run on the client. | |||||||||||||||||
|