NotionX / NotionX/react-notion-x

Compatibility Issue with react-lazy-images and React 19

Open
#601 0 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.4k
Forks
645
PR merge metrics
No merged PRs in 30d

Description

I'm encountering a compatibility issue when using react-notion-x with React 19. The react-lazy-images package, which is a dependency of react-notion-x, specifies a peer dependency on React versions 15 or 16. This results in warnings during installation and potential issues at runtime.

Steps to Reproduce:

Install react-notion-x in a project using React 19.
Observe the npm warnings related to peer dependency conflicts with react-lazy-images.
Expected Behavior:

react-notion-x should be compatible with React 19 without any peer dependency conflicts.

Actual Behavior:

Installation warnings indicate conflicts due to react-lazy-images' peer dependency on React versions 15 or 16.

Additional Information:

The react-lazy-images package was last updated approximately two months ago.

For more details, you can refer to the npm warnings during installation.

Thank you for your attention to this matter.

This issue has been reported on the react-notion-x GitHub repository.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the issue by installing react-notion-x in a React 19 project and inspecting the react-lazy-images peer dependency reported by npm. Confirm that the dependency conflict is resolved and that react-notion-x installs without warnings and works at runtime with React 19.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.