Skip to content

Freeze issue introduced in version 10.25.0 of Preact with Mantine #4628

Closed
preactjs/signals
#630
@nicolasventer

Description

@nicolasventer

Hello,

The issue is still present even with the latest version of Preact.

Environment

  • Bun: 1.1.43
  • Windows

Describe the bug

In a web project with Preact, Preact signals, and Mantine with Select or SegmentedControl component, the page is blank and frozen after upgrading preact from 10.24.3 to 10.25.0.

To Reproduce

Here is a Github repository that demonstrates the issue: https://github.com/nicolasventer/Preact-Issue

Small description to reproduce the issue

  1. Create a vite project with React (not Preact).
  2. Make the alias for react and react-dom to preact/compat (see Preact documentation).
  3. Install [email protected] and @preact/signals
  4. Render the Select component of Mantine (do not forget the MantineProvider).
  5. Import @preact/signals and use it (e.g. const a = signal(0);).
  6. Run the project and there is no error.
  7. Upgrade preact to 10.25.0.
  8. Run the project and there is an error (page is blank frozen).

Expected behavior

The page should not be blank and frozen after upgrading preact to 10.25.0.


Can you please take a look at this issue? Thank you.

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