Sabitlenmiş Tweet
Rogin Farrer
667 posts

Rogin Farrer
@roginfarrer
https://t.co/PTxdwohCII
San Diego Katılım Eylül 2011
323 Takip Edilen210 Takipçiler

@1Password My girlfriend made an account on Thursday to take advantage of the black friday promo, but when she made it, it showed her the full price. Can the promo be applied to her account? When she tries again to use it, it redirects her to the sign-up page.
English

First San Diego show already sold out so have added another show. americancomedyco.com/products/kumai…
English

New shows just announced! I’m coming to brand new cities along with added dates in Austin & Madison. Can’t wait to see you all there. Presale starts WEDNESDAY at 10AM local time with code KUMAIL before the general on sale this Friday. Tickets and all info at linktr.ee/kumailnanjiani.

English

@devongovett @oleg008 @aarongarciah @colmtuite @vladmoroz Hey Devon, I'm curious if the `style` function proposed here does anything when it runs to check if the provided arguments use only the properties allowed in the types? Given your example for the Button, would the "color" property work, fail silently, or throw an error?
English

Yeah, we're doing this in the next version of Spectrum with a TypeScript trick:
type StyleString
= string & {properties: P} Then our `style` function generates a StyleString with P set to a union of the properties that you used, e.g. style({bg: 'red-400', flex: 1}) would give you StyleString<'bg' | 'flex'>. Components that accept only constrained styles can define which properties they accept: interface ButtonProps { styles?: StyleString<'flex' | 'margin'> } If someone tries to pass in either a random class string with no property info, or styles with properties that aren't allowed, they'll get a type error. But if someone passes a StyleString to a DOM element or component that accepts any string as its className then any styles are allowed.
English

Are there any large e-commerce companies that use @buildWithLit and/or web components? I hear a lot of people talk about the success of using them for apps. Less so for retail.
English

@roginfarrer @kentcdodds Interesting! I’m going to do some experimenting to understand the two approaches better 🤔
English

TIL how to auto-focus an incorrect field on a form with #EpicWeb.
This means the user can just start typing and easily fix the issue.
It also makes things easier for screen reader users as they get taken directly to the issue.
60/100 #100DaysOfCode

English

Everybody’s mad at @MKBHD for charging for an app that he had to pay to be created and to pay artists that provide the content. I’m honestly shocked by the so many *outraged* posts of people who feel entitled to it.
Jfc, just don’t buy it. It’s wallpapers. Not food.
English

@scottykaye I hope when you click one it gets slid into a GameBoy
English

@chantastic Which typeface do you prefer? I’m rocking a build of Zed Mono. github.com/zed-industries…
English

You can see all of the examples at the docs site. react-aria-carousel.vercel.app
And it's open-source! github.com/roginfarrer/re…
English


