Skip to content

[SSR] SSR v2 scoped slots should handle variable names like generateMarkup #4768

Open
@nolanlawson

Description

@nolanlawson

As of #4767 we implemented scoped slots, but we are not correctly handling the case where the bound variable name is already reserved for the framework, e.g. tmpl or generateMarkup. We should do proper shadowing so that these variable names don't conflict.

In other words: component authors shouldn't be able to use variable names like tmpl that change what the framework intends to do.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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