loading...

re: Flutter, React Native, Ionic and Native platform: A visual guide VIEW POST

FULL DISCUSSION
 

Is the concensus that Ionic 4 (capacitor) has a slow Native Bridge?

 

The bridge itself is not slow. Rather it can be a bottleneck depending on how much data is sent thru it due to the serialization/deserialization. Think in terms of JSON.parse in the browser. Parsing a couple hundred records is fast, but if you try 50k records, then your performance suffer.

 

Same for react native I'd think.

 

Hey there! This is quite the opposite. The bridge layer between the webview and native APIs is fast, but has also never really been slow. There's a misconception that the native bridge is slow due to the fact that the plugins take a while to become available. With Capacitor, the plugins are loaded and bridge and created right at start up, so you can have a fast interaction between your JS code and native layer. Here's a small example just in terms of perceived startup time.

twitter.com/mhartington/status/113...

The splashscreen is only visible for a second before the actual app hides it on startup.

EDIT: If you're speaking about anything in particular, I'd love to know what issues you've faced and if you have a demo to look out.

 

Thank you for clarification. Would you suggest any adjust about Ionic?

Code of Conduct Report abuse