Hacker News new | ask | show | jobs
by Gene_Parmesan 1401 days ago
Did you miss this example from the linked post about redux-toolkit? https://github.com/reduxjs/redux-toolkit/blob/4ab8c42cb20ae1...

This is what types look like when you're on the library side. The post made very clear they aren't talking about the app dev side. The library types are complex like this so that the app devs have a smoother experience.

1 comments

Might help understanding if the author used ‘meaningful’ variable names…