`undefined` doesn't serialize as there's no representation, the exception is when it's an array member, in which case it's replaced with null.
Would have been nice to include a dehydration function example.
Slightly simpler path...
new Date().toJSON().substr(0,10).split('-').join('');
If you want it locallzed, add the offset before the toJSON, but I nearly always work in UTC.
[comment deleted]tracker1 1245 days ago. link 1 point ▲▼
Usually remove commercial products (per the about page), but given this is tethered with hardware, any thoughts on this one?
Worth noting JSS is the default usage in material-ui's component library. Also worth noting, that if you have separate designers, that staying closer to (s)css may be a better option.
It looks like themes are the only way to do this... you can try saving them into your global settings file manually. Been a while since I even considered it.