Skip to content

Uncaught Error after enabling scheduling #1122

Description

@thetarnav

Describe the bug

I have tried enabling the scheduling in the solid implementation of the last UI benchmark: https://github.com/uhyo/ui-library-benchmark.

import { enableScheduling } from "solid-js"
enableScheduling()

But it broke the application — after I tried to type in the input, the console was spammed by this error:

image

I've recreated the breaking benchmark here: https://stackblitz.com/edit/vitejs-vite-srnwbb?file=src%2Findex.tsx

This demo seems to be working fine though after updating: https://codesandbox.io/s/scheduling-circles-w-slowdown-forked-99l9g7?file=/index.js

Your Example Website or App

https://stackblitz.com/edit/vitejs-vite-srnwbb?file=src%2Findex.tsx

Steps to Reproduce the Bug or Issue

  1. Try typing in the input
  2. Open the console to see errors

Expected behavior

Calling enableScheduling shouldn't break the application.

Screenshots or Videos

No response

Platform

  • OS: Windows
  • Browser: Chrome, Opera
  • Version: 1.4.7

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions