Skip to content

Islands Not Working in Latest Fresh 2 with Preact 10.26.6 #2973

@kylec32

Description

@kylec32

Even with a brand new generated application ex:deno run -Ar jsr:@fresh/init@2.0.0-alpha.34 the generated code doesn't work (console error and interacting with buttons in the island don't do anything).

Console error:

fresh-runtime.js:29 Uncaught (in promise) ReferenceError: n is not defined
    at u (fresh-runtime.js:29:53)
    at l.__b (fresh-runtime.js:96:7)
    at l.__b (fresh-runtime.js:222:11)
    at c2.__b (parse.ts:130:1)
    at index.ts:831:1
    at O (constants.js:2:8)
    at E (constants.js:2:8)
    at _render (reviver.ts:114:5)

Downgrading to preact 10.26.5 on my personal Fresh 2 application things start to work again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions