We have developed a common React-based NPM library intended to be used across multiple parent React applications. This library includes reusable components that are shared among our projects.
However, when we import and use this library in a parent app, we encounter a useContext error originating from the latest version of the @blocknote package.
We have attempted to resolve the issue by trying a few older versions of the @blocknote package, but the problem persists.
We would appreciate any guidance or assistance in resolving this issue so that our shared library can be properly integrated without triggering this error.
Steps to Reproduce:
- Create a React NPM library with reusable components.
- Include the
@blocknote package in the library.
- Import and use the library in a parent React application.
- Observe the
useContext error.
Additional Info:
- React version: [Please insert version]
- BlockNote versions tried: [List versions you tried]
- Any relevant code snippets or stack traces can be provided upon request.
We have developed a common React-based NPM library intended to be used across multiple parent React applications. This library includes reusable components that are shared among our projects.
However, when we import and use this library in a parent app, we encounter a
useContexterror originating from the latest version of the@blocknotepackage.We have attempted to resolve the issue by trying a few older versions of the
@blocknotepackage, but the problem persists.We would appreciate any guidance or assistance in resolving this issue so that our shared library can be properly integrated without triggering this error.
Steps to Reproduce:
@blocknotepackage in the library.useContexterror.Additional Info: