Kristóf Poduszló
Kristóf Poduszló
Thanks, I appreciate you understand.
Thank you for your report! Please try specifying the union as follows and get back to me whether it works or not: ```ts interface ITestA { value: 'a'; extra?: never;...
Hello, Thank you again for reporting with a clear reproduction for your case. Unfortunately, this seems to be a limitation of TypeScript rather than an issue with this library. Please...
Thank you for your report! I’ve just answered a similar issue of yours [here](https://github.com/kripod/react-polymorphic-box/issues/23#issuecomment-754947661). Please continue discussing over there, as my proposed solution may resolve the problem.
Thank you for the report! I’ve just started to work on refactoring this library into a new, smaller and better one. The work may take a while, but until then,...
@tu4mo I’ve [just released](https://twitter.com/kripod97/status/1343260605294247942) [react-polymorphic-types](https://github.com/kripod/react-polymorphic-types) which includes types specialized for `React.forwardRef`, `React.memo` and `React.lazy`.
Hello, Thank you for your PR. I’m not sure what the benefit of this change would be.
As [suggested](https://twitter.com/jamannnnnn/status/1286035026631692288) by @amannn, styling rules with discrete values may also be extracted statically, e.g.: ```js css({ flexDirection: reverse ? "column-reverse" : "column" }) ``` Could be decomposed into two...
For future reference, CSS custom properties and data attributes should [make the extraction of dynamic rules possible](https://github.com/callstack/linaria/blob/92d9d0c6552b25f64fa36b09e6464352f2a1c47f/docs/DYNAMIC_STYLES.md).
> Q: how do you deal with things like this? > > ```js > const rest = { flexGrow: 0 }; > > ``` That’s an interesting edge-case, thank you!...