Stephen Sugden

Results 79 comments of Stephen Sugden
trafficstars

I haven't read #20 in detail yet, but from a brief skim I think it would cover my needs. I'm concerned that it might leave the process of resolving schema...

Did you ever figure out what causes this? I just tried out the noderepl and had the same behaviour.

Turns out `ts-loader` [already supports custom transformers](https://github.com/TypeStrong/ts-loader#getcustomtransformers-----before-transformerfactory-after-transformerfactory---) :tada: The way the first proof-of-concept was written is incredibly wasteful (running the typescript compiler twice) so I will definitely be rewriting this...

From looking at https://github.com/Igorbek/typescript-plugin-styled-components, the same is also true of `awesome-typescript`

Further thoughts on this: - `@babel/preset-typescript` is gaining in popularity, especially for development builds (where you really want the prop-types). It doesn't have any real type information though so this...

Cool! I started writing out some issues for the things I know should be done, and some a bit more open-ended about the overall design are coming next.

That's pretty unlikely to be possible, babel-plugin-transform-typescript doesn't actually have any type information, it only parses the type declarations in order to remove them from the emitted code. If you...

I went ahead and implemented this to see how it would play out in my own codebase. If anybody else feels like trying it, I've published it to npm under...

@VanTanev have you tried my fork? I've been using it since my last comment and haven't had any issues, but positive experience from others would presumably be interesting to the...

> IMHO it would be great if this plugin could detect some common "static" patterns in custom hook, for example if custom hook returns result of `useRef()`/`useCallback(..., [])`/`useMemo(..., [])` etc....