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

feat: extract HeaderButtonsProviders #230

Merged
merged 9 commits into from
Apr 25, 2024
Merged

feat: extract HeaderButtonsProviders #230

merged 9 commits into from
Apr 25, 2024

Conversation

vonovak
Copy link
Owner

@vonovak vonovak commented Apr 14, 2024

There are no new features in this release.

The only new thing is that you can get some small bundle size savings: Please see the new installation instructions, there's a change in the HeaderButtonsProviders which enables the bundle size savings.

I did this mostly as an exercise in figuring out how this could be done. There's a test case that ensures different files are required based on what Provider you choose.

It requires RN 73 with unstable_enablePackageExports

Also see this blogspost.

breaking change: MenuItem export was removed. If you consumed it, let me know and I'll add it back.

closes #226

@vonovak vonovak force-pushed the feat/extract-menu branch 2 times, most recently from 39bf118 to cc91326 Compare April 22, 2024 21:46
@vonovak vonovak marked this pull request as ready for review April 25, 2024 20:13
@vonovak vonovak merged commit d13bb6f into master Apr 25, 2024
3 checks passed
@vonovak vonovak deleted the feat/extract-menu branch April 25, 2024 20:24
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.

Bundle size improvement
1 participant