Skip to content

Mutables need batching in some situations #960

@titoBouzout

Description

@titoBouzout

Describe the bug

Mutables behave in unexpected ways in some situations

In the cats example, pop() doesn't trigger an update
https://playground.solidjs.com/?hash=-1685740014&version=1.3.16

However, if you batch it, it works
https://playground.solidjs.com/?hash=1329499387&version=1.3.16

When doing push() it doesn't need batching and works as expected
https://playground.solidjs.com/?hash=-445597428&version=1.3.16

Lack of batching when in use with reconcile triggers unnecessary re-renders
https://playground.solidjs.com/?hash=-1814354602&version=1.3.7

Not sure if this will be related to this, but working with arrays doesn't trigger an update
https://playground.solidjs.com/?hash=-1939954988&version=1.3.16

Your Example Website or App

https://playground.solidjs.com/

Steps to Reproduce the Bug or Issue

Expected behavior

Screenshots or Videos

Platform

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions