Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: load yoga binaries only once #2864

Merged
merged 1 commit into from
Sep 22, 2024
Merged

fix: load yoga binaries only once #2864

merged 1 commit into from
Sep 22, 2024

Conversation

nnaku
Copy link
Contributor

@nnaku nnaku commented Sep 17, 2024

This PR should fix the #2825

It's not necessary to load and compile yoga-layout WebAssembly binaries more than once.
facebook/yoga#1320 (comment)

Current master is a bit broken but this is tested top of the latest release commit

Copy link

changeset-bot bot commented Sep 17, 2024

🦋 Changeset detected

Latest commit: 5dc3c89

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@react-pdf/layout Patch
@react-pdf/renderer Patch
@react-pdf/examples Patch
@react-pdf/e2e-node-cjs Patch
@react-pdf/e2e-node-esm Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@diegomura diegomura changed the title Load yoga-layout WASM binaries only once fix: load yoga binaries only once Sep 22, 2024
Copy link
Owner

@diegomura diegomura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Thanks!

@diegomura diegomura merged commit e425ca4 into diegomura:master Sep 22, 2024
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