|
|
|
|
|
by fabian2k
2492 days ago
|
|
> ... but docs for anything React related to Typescript (types of components, etc) are harder to come by I just saw this linked today and didn't look it through entirely, but this React+Typescript cheat sheet looks very interesting for React-specific issues you might encounter with Typescript: https://github.com/typescript-cheatsheets/react-typescript-c... For example it explained an issue with the type inference for custom hooks that confused me somewhat earlier. I really like Typescript so far, but you can easily encounter situations that are hard to figure out with only basic Typescript knowledge, especially when interacting with more complex libraries. This probably gets better with more Typescript experience, but it can be a serious speed bump as a Typescript beginner. |
|