How to elegantly update other UI when a Turbo Frame is updated
When a Turbo Frame updates, you sometimes need to also update UI elements that sit outside the frame but logically belong to it—like a menu, counter, or sidebar highlight. Before reaching for JavaScript, there’s a simple backend-only technique using a small helper that handles both full page loads and frame updates elegantly: How to elegantly update other UI when a Turbo Frame is updated
Post a comment