Open
Description
What area(s) will this request affect?
Theme
What type of change do you want to see?
New feature
Overview
A custom event should be triggered by the theme-hot-reload.js script after successfully made a replacement on the page. This was already mentioned on #3493 .
The fix needs to be made on @shopify/theme-hot-reload that is not available on github.
Motivation
There are cases when replaced elements, like sections or blocks do not work perfectly after being injected on the page. For example, if there is a section with a fade effect that triggers on page load, when replaced will be invisible (as there is no page load event to trigger the fade).