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

move Octicon cache preload to initializer #1402

Merged
merged 2 commits into from
Sep 26, 2022
Merged

move Octicon cache preload to initializer #1402

merged 2 commits into from
Sep 26, 2022

Conversation

joelhawksley
Copy link
Contributor

I believe we can move this code to be with the other compilation optimizations and not at the component level. This will allow us to remove _after_compile from ViewComponent.

@joelhawksley joelhawksley requested review from a team and jonrohan September 23, 2022 17:36
@changeset-bot
Copy link

changeset-bot bot commented Sep 23, 2022

🦋 Changeset detected

Latest commit: ca0234b

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

This PR includes changesets to release 1 package
Name Type
@primer/view-components 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

@jonrohan
Copy link
Member

I don't know enough about the octicon cache helper to make a judgement here.

Copy link
Contributor

@camertron camertron left a comment

Choose a reason for hiding this comment

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

Nice, this makes sense to me 👍

@joelhawksley joelhawksley merged commit 7e50f6d into main Sep 26, 2022
@joelhawksley joelhawksley deleted the after-compile branch September 26, 2022 11:48
@primer-css primer-css mentioned this pull request Sep 26, 2022
keithamus pushed a commit that referenced this pull request Sep 27, 2022
* move Octicon cache preload to initializer

* Create spotty-tips-march.md
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.

3 participants