Had to fiddle a bit to minify inlined HTML and CSS resources inside an ES6 class - here is what I did.https://paul.kinlan.me/minifiying-a-custom-element-es6-class/ …
-
-
Sure, but inlining the odd template can be fine. Tools not rules etc etc
-
This will work at tiny scale; breaks down predictably & why Imports (or whatever is their successor) matter so much.
- 1 more reply
New conversation -
-
-
Why? I don't get the difference between a react component with inline HTML/CSS and a web components
-
(Serious question here, I'm genuinely interested)
- 4 more replies
New conversation -
-
-
agreed for CSS but if HTML is strongly coupled with a component there's no win in using redundant (per page) <template>. JSX pragmatism won.
-
Why? (I mean I get the JSX and the binding to a model and the hooking in to React but it feels like the two are different)
- 5 more replies
New conversation -
-
-
Alex you're always on point

-
If by "on point" you mean "a bit of an ass, really", then yes ;-)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.