注册并分享邀请链接,可获得视频播放与邀请奖励。

Evan Bacon
@Baconbrix
Frontend lead for Grok at @SpaceXSI | @bot | Prev @expo
加入 March 2013
903 正在关注    68.9K 粉丝
Before I left Expo, I built a version of Expo Go that had dynamically vendored built-ins so you could do: import React from ‘expo:react’ And not pay the cost of parsing the JS bundle. You wouldn’t be able to OTA new versions of React, but that’s tolerable since react rarely changes and you probably don’t want to push duplicate bytes over the air each time. It was configured by the bundler so you could change which modules which built-in to your native binary. The result was radically smaller JS updates, faster bundling, better performance in development mode, and more sensible debugging. Still thinking about what RN would be like if it pushed more JS into the runtime instead of always defining it in user land.
显示更多
0
2
108
0
转发到社区