註冊並分享邀請連結,可獲得影片播放與邀請獎勵。

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
轉發到社區