Dani Guardiola

Results 263 comments of Dani Guardiola

I suggest looking at what `react-aria` does in their `useButton` hook. Their way to compute `isPressed` for "better" active styles is pretty cool.

@asherccohen my bad, I didn't look at the codesandbox. Looks nice! FYI, react-aria will already show a warning for that. And you might want to research what happens when you...

Hi @jjenzz thanks for asking. We would find the loading states useful, but the deal-breaker for us are the more "native-like" hover/press styles, which `react-aria` exposes as the `isPressed` boolean...

@rafgraph thanks for sharing, this could be super helpful for us, at least until Radix introduces a button component.

Edit: my bad, I got some things mixed up here. Did some edits to make it make sense (or more sense at least lol). @jjenzz I think if `children` is...

`AsRenderProp` is better than nothing, but it kinda seems like render function child with extra steps :P

@jjenzz sorry if it sounded like I was trying to explain how they work to you, 100% not my intention :sweat_smile: I was rather aiming to explain my thinking and...

@zaripych you just helped me fix a problem in which types created with `Omit` where missing keys. I fixed it by doing `getTypeAtLocation`, just like you. Thanks a lot!

@mvdw I want to export to html using a template, thanks though

hello :) what is the status of this? is this documented somewhere?