demo/home page with prototype of HTML / CSS modules (separation of technologies) #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Trying to play around with a naive attempt at HTML Modules + Constructable Stylesheets (separation of technologies workflow). In its final form I'm sure HTML Modules will return a
![Screenshot 2024-01-21 at 6 22 15 PM](https://private-user-images.githubusercontent.com/895923/298422172-e8f77a0f-3b56-4009-a9ed-785d687810fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM3MzAyODgsIm5iZiI6MTcyMzcyOTk4OCwicGF0aCI6Ii84OTU5MjMvMjk4NDIyMTcyLWU4Zjc3YTBmLTNiNTYtNDAwOS1hOWVkLTc4NWQ2ODc4MTBmYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxNVQxMzUzMDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03YWMxNDRhYzVlMTg4NThkZGQ5NzdlZWM5ODBjZDM5MWEwMGZkM2FhZDIzMzc3ZGQ5NTgxMmY4MmE5MGE2MDU0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.NX8FnC1ZYHC2IZyUBvNnxq1wSrtvp9BhRGM1q-P7Cv8)
document.createElement('fragment')
or something, but for now just testing new import assertions for the sake of import assertionsThis will currently break when running the
build
task because the version of Rollup / Acorn we're using needs to be upgradeUpstreams
?type=html
, and so the enforcement of this in Greenwood is inconsistent and non-isomorphic. Basically, the "surest" stack way is actually without the?type=xxx
but obviously that's not as explicit. This would require:3.x
greenwood#1087prerender
support in development would be nice here - Rendering Strategies (prerender
vs SSR vs CSR) greenwood#951