News for hackers. Stuff that matters.
Re:JavaScript Temporal Is Coming by nikeee on Wednesday February 05, 2025 @09:13PM (#42958179)
Passing Dates to a React component caused re-rendering issues in some of my applications due to Date being an object.

I had to resort to numbers (Unix time) to not have to add memoization everywhere. Seems like this will continue with Temporal. Or React-Compiler will solve this.

There are no comments on this comment yet.