Support Preact 11 without duplicate Preact major versions

Open
#3,911 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
deno, github-actions, javascript, typescript

Research direction

Start by reproducing the dependency tree with Fresh 2.3.3 and a direct Preact 11 dependency, then inspect Fresh’s Preact imports and integration points for major-version assumptions. Done means the supported configuration resolves only Preact 11 and rendering plus context behavior pass its tests. Confirm whether automated Deno/npm dependency update PRs are part of this issue’s required scope.

Written by the indexing model from the issue text.

Description

Fresh 2.3.3 still depends on Preact 10. Updating an application's direct dependency to Preact 11 leaves both major versions in the dependency tree, which can cause rendering and context issues.

Is support for Preact 11 planned? It would be helpful to update Fresh's dependencies and integration to support it, so applications can upgrade without loading two Preact versions.

Could automated dependency update PRs also be introduced for the Deno/npm dependencies to help identify compatibility work earlier? Dependabot currently covers GitHub Actions only.

Dominant language
TypeScript
Stars
13.8k
Forks
757
Avg merge
3m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from freshframework/fresh

All issues in freshframework/fresh

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.