Skip to content

Unknown prop using export let and export function #4323

Closed
@frederikhors

Description

@frederikhors

Maybe a bug in this REPL: https://svelte.dev/repl/79aa242f7e6d4af684099868189d3cb4?version=3.18.0

If you click on button "toggle modal" in console you should have this warning:

"<Form> was created with unknown prop 'saveForm'"

If you remove from Form.svelte

  • the line: export let removeThis = null
  • and the line: {removeThis}

the warning disappear.

Am I wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions