Skip to content

Renaming a Table component doesn't reset its state (i.e. like key) #38

Open

Description

@maddie927

This is rarely a problem because tables tend to be contained by other unique component instances (like pages), but as we move from manual component creation to DSLs and helper functions it's likely we'll end up with two pages with the same component structure. This could prevent React from remounting these components leading to issues with stale component state. For coincidences like these it might be a good idea to have the Table component reset itself when its identifying name changes to prevent mixing up localStorage data.

Activity

  1. added
    bug
    on May 26, 2019
  2. self-assigned this
    on May 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions