Hacker News new | ask | show | jobs
by smallnamespace 2610 days ago
Doesn't your cache just become a limited retained mode with a somewhat hacky, opaque API?
1 comments

Basically yes. If an immediate mode API is much easier to use, and a retained mode underlying implementation has much better performance, then putting a React-style VDOM layer in-between could get the best of both worlds, depending on how well the middle layer is implemented.