ds300 / ds300/react-native-typescript-transformer

Hot Reloading TypeScript component triggers rendering of ancestor TypeScript components

Open
#66 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
656
Forks
47
PR merge metrics
No merged PRs in 30d

Description

I'm not sure that this is directly related to this transformer, but this is quite frankly the best documentation for working with React Native and TypeScript that I can find, so I'm hoping that it can either be fixed in the transformer directly or at least someone has some advice.

It seems like if you make a change to a TypeScript, .tsx component it triggers a render of any ancestors during hot reloading. If you make a change to a .js component, it won't do this -- even if the ancestors are .tsx components.

You can see an example of this here: https://github.com/ajcrites/TsHotReload

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.