Skip to content

2.0.0-rc until doesnt entangle the update resolving it with the action update #3164

Description

@GabbeV

Describe the bug

This is an example demonstrating why the fix for #3123 (comment) is insufficient. Not entangling when until is set makes the granularity of the store decide what tears or not leading to weird issues where object might break type contracts without type errors.

Your Example Website or App

https://stackblitz.com/edit/solidjs-templates-dkufnzkf?file=src%2FApp.tsx

Steps to Reproduce the Bug or Issue

  1. Open repro
  2. Click button
  3. Observe that the seemingly correct code errors part way through the update.

Expected behavior

The authentication entangle with the action making avoiding the tearing causing the error.

Screenshots or Videos

No response

Platform

  • OS: Windows
  • Browser: Firefox

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions