正在加载视频...

视频加载失败

I'm still amazed how powerful Expo DOM components are. I mean, try implementing an infinite drawing canvas on web, iOS, and Android in under 5 minutes. With DOM components you actually can

103,625 次观看 • 1 年前 •via X (Twitter)

10 条评论

Anton wester 的头像
Anton wester1 年前

@expo What's the difference between a webview and Expo dom components?

tldraw 的头像
tldraw1 年前

@expo Let’s go!

User 的头像
User1 年前

@expo It's crazy how bad and outdated Android looks in comparison with iOS😭

cedric 的头像
cedric1 年前

@user28272729 @expo To be fair, I still used the Pixel 4 emulator. Probably need to bump that up. But definitely agree, Android emulator works and looks so bad compared to the iOS simulator.

Alexander 的头像
Alexander1 年前

@expo I wonder what the impact on performance is

cedric 的头像
cedric1 年前

@expo The startup time is a bit slow for webviews, as you can see in the video. But, overall it does work smoothly when drawing:

Will 的头像
Will1 年前

@expo Could you share?

cedric 的头像
cedric1 年前

@expo Here you go

mr.left 的头像
mr.left1 年前

@expo info: tldr: it's react-native-webview

cedric 的头像
cedric1 年前

@expo It's a bit more than just a webview. You can also pass in primitive values and functions as props -- DOM components will bridge this for you. And, it's bundled directly in your app. Did you see it was a webview by looking/using it, or only after looking up the docs?

相关视频