Skip to content

bug: inconsistent behavior with the id prop on react package #38

@spencerc99

Description

@spencerc99

when the id prop passed into withSharedState conflicts with the topline element id prop, the behavior is confusing. Also seems to inconsistently use the prop, like sometimes doesn't work.

  • should show a warning (maybe a linter warning?) if there is a conflict
  • should probably have the prop directly passed in to withSharedState take precedence over the one that is on the main element

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions