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

Add support for managing extensions #529

Merged
merged 5 commits into from
Sep 1, 2024
Merged

Add support for managing extensions #529

merged 5 commits into from
Sep 1, 2024

Conversation

trezy
Copy link
Collaborator

@trezy trezy commented Aug 26, 2024

Description of change

Adds the extensions property to the <Application> component, which allows Pixi React to manage adding/removing extensions for the user.

This is mostly a convenience property. If the user needs to load an extension, then can just as easily use a useEffect to run extensions.add(Extension). If they need it to be initialised before the <Application>, they can call extensions.add and only render the <Application> after the extensions have been added. That said... this is way easier. 😝

Pre-Merge Checklist
  • Tests and/or benchmarks are included
  • Documentation is changed or added
  • Lint process passed (npm run lint)
  • Tests passed (npm run test)

@trezy trezy added enhancement New feature or request v8 Issues related to Pixi React v8 labels Aug 26, 2024
@trezy trezy self-assigned this Aug 26, 2024
Copy link

codesandbox-ci bot commented Aug 26, 2024

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 2e79fc0:

Sandbox Source
pixi.js-sandbox Configuration

@trezy trezy merged commit 8490ecb into beta Sep 1, 2024
4 checks passed
@trezy trezy deleted the add-extensions-support branch September 1, 2024 02:52
Copy link

github-actions bot commented Sep 1, 2024

🎉 This issue has been resolved in version 8.0.0-beta.13 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released on @beta v8 Issues related to Pixi React v8
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant