
22 Buzz Words Explained — Mutations, Pure Functions , Serverless, Hoisting, MVC + More
Syntax - Tasty Web Development Treats
00:00
Working With Date Functions Isn't Pure Immutable
The idea is that if you ever have anything that is variable like a date You should pass that date that data in rather than generate it inside of the function. And this is also a plug for that uh date fns library that west told me about of i don't know it's a replacement for a moment Yeah, that was a lot of episodes ago, but um, yeah where moment is not pure immutable and Obviously working with date functions isn't.
Play episode from 22:57
Transcript


