June 2021
Intermediate to advanced
398 pages
9h 35m
English
If you’ve been clicking around the schedule page as it exists after adding the edit functionality, you’ve probably noticed that we moved fast and broke things. Specifically, the links on each concert name that led to the concert show page and the Make Favorite button both appear to be broken. Clicking the concert name does nothing but make the concert display disappear, and clicking the Make Favorite button updates the concert display but not the Favorites section.
Both of these problems have the same cause: the links are now inside a Turbo Frame but are trying to change parts of the page outside that frame. Turbo Frames, by default, only captures the part of the response that matches the ID of the Turbo Frame ...