8000 [Feature]: Hot Reload Event · Issue #5778 · Shopify/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Feature]: Hot Reload Event #5778
Open
Open
@eloyesp

Description

@eloyesp

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0