Filter
Exclude
Time range
-
Near
You might remember that `ngIf` can accept some relatively complex syntax as input, like providing an alternative template to render if the condition is false Do you know how this works under the hood? Do you know you can build directives for yourself with such a microsyntax?
3
2
13
1,290
Neither of those options is what HTML does natively. A lot of WC discourse has been harmed by the mindset that treats HTML as a shorthand to specify JS stuff declaratively. For relatively shallow data structures, e.g. an array of strings, HTML usually accepts data as a serialized microsyntax that is much simpler than arbitrary JSON. Example: <iframe sandbox>. For more complex data, HTML often accepts them as children, e.g. a <datalist> is essentially an array of objects. The rule of thumb is, a good HTML element should be usable without JS knowledge (at least for common cases).
3
9
1,240
Thanks for such an incredible talk! I also wanted to share this series I wrote about microsyntax since we talked about it. Maybe it’s of help to some of the people in your workshop: dev.to/this-is-angular/maste… Thanks again and safe travels home!
2
2
156
16 Jan 2024
Likewise. Much prefer JS over microsyntax
2
42
18 May 2023
CSS와 Web UI의 새로운 기능들: I/O 2023 에디션 news.hada.io/topic?id=9205 - Container queries - Style queries - :has() selector - nth-of microsyntax - text-wrap: balance - initial-letter - Dynamic viewport units - Wide-gamut color spaces - color-mix() ...
2
8
2,545
This makes a party of 3. I do appreciate Svelte's syntax simplicity for control flow (as compared to microsyntax) and components matching (as compared to selectors).
4
1
9
5,513
Issue #71 is out, read about TypeScript 5.0, Angular Testing Tips, Angular Structural Directives and Their Microsyntax and more Authors featured: @DecodedFrontend @bobbyg603 @drosenwasser @Armandotrue @eugeniyoz angularweekly.substack.com/p…

3
28
1,684
20 Feb 2023
Replying to @walkingriver
Angular’s microsyntax… 😬 What if you didn’t need it anymore 🤔
6
14
843
2 Nov 2022
Personal notes usually contain enough ad hoc and contextual info (e.g. personal microsyntax and shorthand) that a vanilla LM embedding might not work super well. Semantic search is also neat but not always what you want (e.g. people names, dates)
2
6
9 Sep 2022
Replying to @NetanelBasal
Conditional rendering is much better with Vue template. It's just intuitive if-else. Every time I need to do if-else in Angular I think about the same thing. In general, IMO, most things involving microsyntax and ng-template makes me think "this could have looked better."
1
2
Replying to @czechhater
I would suggest to checkout this blogs: timdeschryver.dev/blog/use-a… nartc.me/blog/angular-direct… unicorn-utterances.com/posts… These guys (@tim_deschryver @Nartc1410 @crutchcorn ) has done a wonderful work explaining directives and angular template microsyntax in general.

1
2
5
11 Dec 2021
Replying to @11rcombs
yes there is apparently an INTERPOLATION MICROSYNTAX for the SUBSTITUTED VALUES SOMETHING HAS GONE VERY WRONG
1
1
65
19 Nov 2021
Replying to @sugarbleat
imagemagick has some microsyntax on top of filenames, like you can prefix a format with a colon, and (based on having tried to work with the /c api/ directly) i don't know if it's even possible to convince it to read from a file named literally 'png:foo.png'
1
8
Replying to @buildsghost
But it’s ✨microsyntax✨ (only documented in some random gist by someone no longer on the Angular team)
1
3 Jan 2021
I’m finding that the opportunity to “weave an idiosyncratic microsyntax into the fabric of sociality” is among the hardest, but most exciting, challenges facing consumer platform builders.
25 Sep 2020
Replying to @DanRather
Dan, you’re always so precise, so concise. You have that rare gift of saying it in such clarity and sobriety within the constraints of today’s microsyntax! You are a true legend.
1
5
Not that I'm aware of, but it seems feasible from a microsyntax perspective (IIRC @tabatkins made sure of that). I'm not 100% convinced it'd be more manageable than `<picture>`, but happy to be proven wrong. *Actually* supporting image-set seems higher priority though
1
Angular Microsyntax - The asterisk (*) prefix #Google #Angular #code #100DaysOfCode #BeyondJS
1
4
Since Vue 2, directives (`v-*`) expressions are expected to be parseable as JS¹. If you want arbitrary string, you need to quote it like a JS string. ¹ Except for built-in `v-for`, that uses a JS-like microsyntax.
2