7 Matching Annotations
- Feb 2021
-
dry-rb.org dry-rb.org
-
Another solution is using the Safe Navigation Operator &. introduced in Ruby 2.3 which is a bit better because this is a language feature rather than an opinionated runtime environment pollution
-
- 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
- making it easy for later refactoring
- template language vs. reusing existing language constructs
- reuse existing language constructs
- hyperscript
- javascript
- comparison with:
- it's just _
- template language: bad: by not reusing existing language constructs; forced to reinvent equivalents which are inferior and unfamiliar
Annotators
URL
-
-
reactjs.org reactjs.org
-
Hooks embrace JavaScript closures and avoid introducing React-specific APIs where JavaScript already provides a solution.
-
- Sep 2020
-
sapper.svelte.dev sapper.svelte.dev
-
Links are just <a> elements, rather than framework-specific <Link> components. That means, for example, that this link right here, despite being inside a blob of markdown, works with the router as you'd expect
-
-
-
You can construct both by setting other properties inside the Promise callbacks, but we have {#await} and I feel like it should be used for this, instead of special casing the logic every time.
-
-
-
Yes, we use CSS. I thought a Svelte mantra was to use the existing language(s). This is fundamental CSS
-
-
github.com github.com
-
One of the arguments that's frequently deployed in favour of JSX-based frameworks over template-based ones is that JSX allows you to use existing language constructs:
-