Naman Goel

Results 403 comments of Naman Goel

I've actually been confused about the `only one synchronous action at a time`. In many simple implementations, this would be enforced anyway. For example, if using a simple event-emitter, anytime...

> The proposed API would add significant maintenance complexity and needless surface area to StyleX. I share this concern. I have received repeated requests for something on these lines and...

> Why can't you put style objects directly in the stylex.props call? @aspizu This isn't feasible for a couple of reasons: 1. It only works for styles being applied directly...

@BMCwebdev This is a broader discussion that should live in "discussions". This issue is for discussing the possibility of adding an API for defining styles "inline" only.

@prc5 Using `cva` with StyleX is an anti-pattern as the extra complexity isn't needed. We've covered alternatives that fit with StyleX better before.

> after all, it is JS that we know well - maybe it's just fine to allow it? 1. It's important to remember that StyleX is a compiler and does...