Anton Korzunov

Results 581 comments of Anton Korzunov

v`5.15.3` has react dependency version changed - from - `"react": ">=16.3.0"`, which should work - to - `"react": "^16.3.0 || ^17.0.0 || ^18.0.0"`, which definitely works and more common in...

Run into the same problem with `project references` as they produce declarations. ```tsx export const expectSideEffect = < K extends keyof IntegrationTraces, // expected to be augmented T extends IntegrationTraces[K],...

Interesting solution, not sure I can afford it in monorepo. Currently the best workaround seems to be keeping some d.ts manually written 😔

Created a simple test reproducing a problem - https://codesandbox.io/s/rtl-dialog-example-4dceu7?file=/src/test.spec.tsx Aria-modal currently: - hides content outside in Chrome - doing nothing in Safari - doing nothing in Firefox

Yep. Adding `docz-plugin-css` is breaking `docz` in a hard to understand way - the `docz-core` at the top level would be `0.11`, while your `docz` is `2.2`. You will not...

There are a lot of different versions of this pattern. Almost every project came with something similar: - https://react-hooks.org/docs/use-fork-ref - https://github.com/mitchellhamilton/apply-ref - https://github.com/theKashey/use-callback-ref - https://github.com/mui-org/material-ui/blob/9bd4277ecd660ebe2fd4cb08960f58e98ddb6d43/packages/material-ui/src/utils/useForkRef.js And (strangely!) many are suffering...

@oliviertassinari - I can confirm that your realization is stable. But we can get another problem in the future as the Strict and Concurrent modes are not very __any ref...

@ZachHaber - big kudos for splitting ref declarations. You actually don't need to specify JSDocs for every single one as they will share the one with each other. From another...

🙇 there are definitely a few moments to fix ----- UPD: Actually, after reviewing your tests, especially the last one - I am not sure they are correct. Like yes...

Got the problem. It's looking for template placeholders, but braces can be just a part of your code.