by jonstaab · 5y ago · 0 comments
There are lots of other problems with this approach that could be solved, but aren't immediately obvious, such as (similar to React) over-rendering. If someone has their focus in an input within the frame that gets swapped out, they're going to lose their focus. This has implications for accessibility as well as just regular usability.
Certainly you need a different mindset to use this technique. If you try to do it the same way you do SPAs you will find a lot of problems of course
That's a hard pass for me!