Skip to content

Adding props to a component are not directly reflected #21

@SoftHai

Description

@SoftHai

Hi,

when having a component without props definition (initial) and then adding some, the Webcodesk UI don't shows automatically the added props in the preview screen or when using the component. A Reload of the Webcodesk application, in the browser, is needed to see the changes.

  • Create a component without props definition (in my case a *.tsx but maybe a general issue)
  • Open the preview in Webcodesk
  • Add some props-definitions to the component and defaults
  • Go to Webcodesk
    • The source code shows the new version with the props-definition
    • The preview works with the new props (Defaults)
    • The Props are not displayed in the right properties panel
  • Reload the Website
    • Properties are displayed
  • Add an additional property to the definition
  • Go to Webcodesk
  • Component works with the new added Props
    • The properties view is not updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions