driver
driver copied to clipboard
Add memoization
Would be nice to memoize the library, hopefully with minimal bundle size increase
Memoizing via state keys seems like enough, but if flags isn't pure then it'll break. Maybe worth adding a deps array like useMemo.
Would also be nice if the library was lazier in its evaluation rather than immediately parsing all derived objects.