Twitter | Search | |
Rafael de Oleza
Software Engineer at . Former ,
1,548
Tweets
501
Following
890
Followers
Tweets
Rafael de Oleza Aug 24
Replying to @emilsjolander
unfortunately I don't know a better way to debug these issues :( in our case the issues came from OSX showing an auth popup which is very hard to debug without having remote desktop access
Reply Retweet Like
Rafael de Oleza Aug 24
Replying to @emilsjolander
I'm glad it helped, did you move away from storing the certificate in base64? That's a pretty neat solution and I'm considering doing the same (we're currently downloading it from a private GitHub repo)
Reply Retweet Like
Rafael de Oleza Aug 24
Replying to @emilsjolander
We're doing this in GitHub Desktop, one of the tricks was to create a custom keychain to store the developer certificate (see )
Reply Retweet Like
Rafael de Oleza Jan 22
Replying to @ladybenko
- big shops usually 8pm, smaller local shops 6-7pm - modulor is a must for arts and crafts! - the barn! you can buy them on any of their cafés have fun in Berlin!!
Reply Retweet Like
Rafael de Oleza Dec 16
Replying to @kuvos @mjesun @github
Code freeze!! 🤷‍♂️😅
Reply Retweet Like
Rafael de Oleza Dec 13
Replying to @fatih
At Facebook most of the codebase is in the monorepo, which doesn’t have ACLs or any ownership rule (anybody can modify any file), but this requires a very open culture with lots of trust in the engineers
Reply Retweet Like
Rafael de Oleza Nov 13
Yes you're right, in order to make Metro inline your imports you need your Babel config to leave the imports intact 😅 (it's just that Metro internally uses a Babel plugin to do that inlining), but yeah that's part of the bundling process.
Reply Retweet Like
Rafael de Oleza Nov 13
Still, that's just some babel plugins that interact well with the bundling logic of Metro, so it should be possible to port this to WebPack and other bundlers
Reply Retweet Like
Rafael de Oleza Nov 13
Yes! actually, we initially tried to use babel's lazy mode but we saw performance regressions (caused by the additional logic that the lazy mode forces to execute very time a require is used). After this, we decided to implement the inlining of import statements inside Metro
Reply Retweet Like
Rafael de Oleza retweeted
Dan Abramov Nov 12
The “inline requires” optimization has been enabled at FB for so long that we take it for granted now. Open source bundlers (beyond Metro) need to catch up! If you care about bundle size you should start caring about how much code executes eagerly.
Reply Retweet Like
Rafael de Oleza Nov 13
RAM bundling is a different concept than inline requires (although RAM bundling extremely benefits from inline requires). As far as I know, WebPack/Haul do not support inlining the require/import statements
Reply Retweet Like
Rafael de Oleza retweeted
React Native 28 Jun 19
Six months ago the community told us Hot Reloading was a major pain point. A better Fast Refresh mode is on it's way into React Native. It's resilient to errors (no need for full reloads after a typo) and supports function components with Hooks. Check it out:
Reply Retweet Like
Rafael de Oleza 21 Jun 19
Replying to @sebmck @mjesun
Could you use this step to encode a list of imports/exports to later do dead code elimitation of unused exports?
Reply Retweet Like
Rafael de Oleza 21 Jun 19
Replying to @cpojer @sebmck @mjesun
Well it would also get stripped with inlineRequires enabled, since then modules are considered to be without side effects
Reply Retweet Like
Rafael de Oleza 21 Jun 19
Replying to @cpojer @sebmck @mjesun
On the TypeScript case since it’s a normal import it would not get stripped (unless the babel plugin to strip typescript type definitions also removes the import, which idk if it does)
Reply Retweet Like
Rafael de Oleza 21 Jun 19
Replying to @sebmck @mjesun
Makes sense, relying on the side effects of a module that was imported just for its types is quite an edge case 😅 i was just curious if Rome did some kind of pre-analysis of dependencies before building the graph
Reply Retweet Like
Rafael de Oleza 21 Jun 19
Replying to @sebmck @mjesun
Nice! What happens if a module only use the types from another module that has side effects? Is this detected and taken into account? When and me were exploring to do tree shaking in metro these kind of things were really challenging to do in a performant way
Reply Retweet Like
Rafael de Oleza 14 Jun 19
Replying to @madbyk @fb_engineering
Thanks man! I can tell you that the changes are noticeable! 😁
Reply Retweet Like
Rafael de Oleza 7 Jun 19
😂😂
Reply Retweet Like
Rafael de Oleza 7 Jun 19
Replying to @rafeca
This is an example of an existing PR where we fixed the git conflicts:
Reply Retweet Like