Skip to content

Rendering broken for arrays not wrapped in div #178

Open
@tgreen7

Description

@tgreen7

React Easy State version: x.x.x
Platform: browser / node / react-native / other

Describe the bug
If you have an array in your store and display it without wrapping it in a div it does not render or update properly.

For the toughest bugs only

https://codesandbox.io/s/pedantic-glade-ytrwo?file=/src/App.js

  1. click add pet and the pet list will not update.
  2. comment out line 15 and comment in line 16
  3. Hit add pet and list will update

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