Advertisement · 728 × 90

Posts by benface

And Firefox! I actually went back to Firefox for this reason.

3 months ago 5 0 2 0

I suggest replacing Paste with Raycast’s clipboard history since you already use that, and Bartender with the free and open source Ice.

3 months ago 2 0 1 0
Preview
Suggestion: `throws` clause and typed catch clause · Issue #13219 · microsoft/TypeScript The typescript type system is helpful in most cases, but it can’t be utilized when handling exceptions. For example: function fn(num: number): void { if (num === 0) { throw "error: can't deal with ...

100%. Unfortunately not going to happen: github.com/microsoft/Ty...

4 months ago 2 0 1 0

I just call it “global styles”.

4 months ago 0 0 0 0

This cannot come to Safari and Firefox fast enough!

4 months ago 0 0 0 0
It's Spagett! | Tim and Eric Awesome Show, Great Job! | Adult Swim
It's Spagett! | Tim and Eric Awesome Show, Great Job! | Adult Swim YouTube video by Adult Swim Deutschland

youtu.be/Omy3BERUd1g

4 months ago 1 0 1 0

That’s Spaghett!!! Spoogy

4 months ago 1 0 1 0

Wrong. The cascade is how CSS determines which declaration wins when there are conflicting rules. It takes multiple factors into account (origin, specificity, source order), none of which is inheritance.

4 months ago 2 0 1 0
Advertisement

I mean, `if()` is pretty powerful regardless of the naming IMO! But when you combine it with `revert-rule` then it is a true game changer.

5 months ago 1 0 1 0

It was a lovely show!

5 months ago 0 0 0 0

This! And typed counters too!

8 months ago 0 0 0 0

Amazing. On a slightly related note, can we please have a way to get the `<number>` value of a counter so we can use it in `calc()`?

8 months ago 0 0 0 0

What is this printer?

8 months ago 0 0 1 0

Oh so you’re talking about the spelling? I thought you meant the pronunciation. But I actually like “M-dash” because it’s what the “em” is for – the width of the letter M.

9 months ago 4 0 0 0

Isn’t it exactly what it is?

9 months ago 1 0 0 0

This probably is an edge case? I’m guessing no other page / element has these text styles.

9 months ago 0 0 0 0

This. MacOS Calendar has supported an arbitrary number of alerts since forever but iOS is still restricted to two. 😒

9 months ago 0 0 0 0

Do you mean that it can be used without a form? An example would be nice!

9 months ago 0 0 1 0
Advertisement

Ah: “If <title> is within an <svg> component, then there is no special behavior, because in this context it doesn’t represent the document’s title but rather is an accessibility annotation for that SVG graphic.”

10 months ago 1 0 0 0

What about SVG <title>s?

10 months ago 1 0 1 0

Nope, same here.

10 months ago 1 0 0 0

I just tested and the state is indeed reset. It seems to be per _element_, not per component.

11 months ago 2 0 1 1

> I think you can have Wrapper know what to render / how to render. The component hierarchy stays the same but the outcome changes.

But won’t there be the same issue inside Wrapper? At some point, something has to render a different element.

11 months ago 1 0 1 0

🥲 So what’s the solution? Or is conditional wrapping just bad (when it’s dynamic at least)?

11 months ago 0 0 1 0

Ok, I understand the potential problem, but how would you prevent it if you really do want a component to conditionally wrap children in another? Just render in a `<div>' wrapper instead?

11 months ago 0 0 1 0

When will you tell us?

11 months ago 0 0 1 0

Nothing. It looks great to me.

11 months ago 0 0 1 0

Wow! I guess I’m an OG.

11 months ago 2 0 0 0
Advertisement

It came out in 2017 👴

11 months ago 2 0 1 0

Would love a blog post on those approaches 😁

11 months ago 2 0 0 0