Skip to content

Solid v2.0.0-beta.10 refresh() does not catch NotReadyError #2694

@atk

Description

@atk

Describe the bug

Calling refresh(optimistic) throws an error that comes from a NotReadyError from calling count() that should have been filtered out.

Your Example Website or App

https://solid2.netlify.app/#solidjs-repl:X5S967tfRauLNiWUdm43Jw

Steps to Reproduce the Bug or Issue

  1. Go to the page
  2. Cllck on the button
  3. Check error in console

Expected behavior

NotReadyError should be filtered out

Screenshots or Videos

No response

Platform

  • OS: aarch64 Linux
  • Browser: Chromium
  • Version: 147.0.7727.101

Additional context

No response

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