Skip to content

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Oct 15, 2025

This is a temporary fix for quantizor/markdown-to-jsx#716, as there's an import for react in markdown-to-jsx that causes parcel to try to evaluate react. If there's no react dependency it throws.

We add a unused dependency on react, until either markdown-to-jsx has an entry point that does not depend on react existing (it's not actually used) or we fork it.

This is a temporary fix for quantizor/markdown-to-jsx#716, as there's an import for react in markdown-to-jsx that causes parcel to try to evaluate react. If there's no react dependency it throws.

We add a unused dependency on react, until either markdown-to-jsx has an entry point that does not depend on react existing (it's not actually used) or we fork it.
@Haroenv Haroenv requested review from a team, aymeric-giraudet and dhayab and removed request for a team October 15, 2025 13:29
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 6bc78c5:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

@Haroenv Haroenv merged commit d337795 into master Oct 17, 2025
14 of 15 checks passed
@Haroenv Haroenv deleted the fix/react-dep-added branch October 17, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants