6 Matching Annotations
- Nov 2020
-
github.com github.com
-
from my point of view, it is (by far) the best way, to build a layer on top https://github.com/material-components/material-components-web . This is also the path that the Angular Material team has taken, although they have already made a huge effort to create the components themselves.
-
-
github.com github.com
-
This is Sass based, and therefore doesn't require Svelte components
Just because we could make Svelte wrapper components for each Material typography [thing], doesn't mean we should.
Compare:
material-ui [react] did make wrapper components for typography.
- But why did they? Is there a technical reason why they couldn't just do what svelte-material-ui did (as in, something technical that Svelte empowers/allows?), or did they just not consider it?
svelte-material-ui did not.
- And they were probably wise to not do so. Just reuse the existing work from the Material team so that there's less work for you to keep in sync and less chance of divergence.
-
- Oct 2020
-
-
hyperscript is much simpler to refactor and DRY up your code than with JSX, because, being vanilla javascript, its easier to work with variable assignment, loops and conditionals.
Tags
- JSX
- it's just _
- javascript
- template language vs. reusing existing language constructs
- reuse existing language constructs
- making it easy for later refactoring
- comparison with:
- template language: bad: by not reusing existing language constructs; forced to reinvent equivalents which are inferior and unfamiliar
- hyperscript
Annotators
URL
-
- Sep 2020
-
github.com github.com
-
In a similar vein to (#33), it is arguably just something that compensates for the lack of power in the template language relative to JavaScript.
-
-
github.com github.com
-
The complaint is that by choosing less powerful languages, template-based frameworks are then forced to reintroduce uncanny-valley versions of those constructs in order to add back in missing functionality, thereby increasing the mount of stuff people have to learn.
-
- Jun 2020
-
foreignpolicy.com foreignpolicy.com
-
amymackinnon2. ‘Don’t Touch Your Face: Our Cities May Never Be the Same Again’. Foreign Policy (blog). Accessed 3 June 2020. https://foreignpolicy.com/podcasts/dont-touch-your-face-coronavirus-podcast/post-coronavirus-our-cities-may-never-same-again/.
-