Janic Duplessis

Results 217 comments of Janic Duplessis

@motiz88 I agree, the PR was patched on top of an existing option but `unstable_transformProfile` seems like a good fit. One issue I see though is it would be nice...

We might also want to organize this code differently if we're going to support more js engine profiles as I feel the current structure might get pretty nasty quickly.

I don't have time to work on this currently, if anyone wants to take on the project. I would suggest discussing it more here with @motiz88 and myself (see https://github.com/facebook/metro/pull/515#issuecomment-605374891).

I know hermes supports a lot more modern syntax now, I'd be interested to know if facebook leverages those yet internally.

@cpojer I think I pointed @imownbey towards this solution. This does happen for files included inside watchFolders (but not projectRoot). The case mentioned in the previous comment illustrates this. I...

@cpojer What about using some unique identifier like the asset hash (or whatever is the key of the asset in metro) and use that to build httpServerLocation. Maybe something like...

Yea, the current implementation is brittle since it doesn't have any info about modules and just relies on variable names. Passing the dependency map seems like the proper solution. I'll...

@motiz88 Any change we can merge this as is to fix the issue? Sadly I don't think I will have time to implement a better solution. If we don't want...

@yfunk I was also doing something like this in my Touchable component. I've taken the code and revised it to make sure all styles are included. Let me know what...