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

RSC: Remove <Assets> component #10247

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Mar 17, 2024

<Assets> was used for CSS loading, but we switched to using a vite plugin for that in #10210 so the <Assets> plus RwRscGlobal approach is not needed anymore for that purpose.

<Assets> also did aspire to support fonts and other assets. But we don't have any tests for that, and it's not critical for now. And we'd rather handle that stuff with a vite plugin anyway. So when the time comes, we'll update the css plugin to be more general, or add another plugin

@Tobbe Tobbe added changesets-ok Override the changesets check release:chore This PR is a chore (means nothing for users) labels Mar 17, 2024
@Tobbe Tobbe added this to the RSC milestone Mar 17, 2024
@Tobbe Tobbe enabled auto-merge (squash) March 17, 2024 11:14
@Tobbe Tobbe merged commit c0e92ef into redwoodjs:main Mar 17, 2024
46 of 52 checks passed
@Tobbe Tobbe deleted the tobbe-rsc-remove-assets-component branch March 17, 2024 11:19
@Josh-Walker-GM Josh-Walker-GM modified the milestones: RSC, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants