NotionX / NotionX/react-notion-x
Polifill problems with React
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 645
- PR merge metrics
- No merged PRs in 30d
Description
Description
I have a lot of problem with this module. Im trying use in react, when compile, i have multiple BREAKING CHANGE error ( exaclty,23).
All errors refer to 'webpack<5 used to include polyfills'
i install all dependecies but the errors persist.
polyfills require: stream, tls, net, http2, http, https, zlib, os, dns
Any idea how to solve it?
i have:
webpack : 5.76.1
node: 19.7.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the compile errors with React, webpack 5.76.1, and Node 19.7.0, then inspect how the module requests the listed polyfills: stream, tls, net, http2, http, https, zlib, os, and dns. Done means the build no longer reports the webpack polyfill breaking-change errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, react, typescript, webpack
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100