Skip to content

Preact's useContext is exported, but createContext isn't #9152

@melianmiko

Description

@melianmiko

Description

apps/client/src/services/frontend_script_api_preact.ts

useContext is exported, but createContext isn't, which makes impossible to use React contexts or any libraries that depend on them.

TriliumNext Version

0.102.1

What operating system are you using?

Other Linux

What is your setup?

Local + server sync

Operating System Version

Debian 13 (frontend bug, no matter)

Error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions