Non-core block support in mobile apps #35475
Replies: 1 comment 1 reply
-
👋 @luisherranz ! Thanks for asking! Let me share some of my thoughts...
There's not really a plan, more of a goal/hope. We want to support third-party blocks, but we haven't found a clear path to do that yet. Admittedly, we also haven't invested a lot of time investigating this yet either because our main focus to this point was to add support for the most-used core blocks. It is a very tricky problem given the amount of HTML and CSS that React Native does not support. One possibility that has been discussed is the idea of developing a set of low-level "core" React components that work on both web and mobile. Then any block that is built only using those "core" components would "just work" in the mobile apps. Another interesting idea (courtesy of @hypest ) is to explore the possibility of essentially displaying each third-party block inside a small webview within the apps. We already do something similar to this with the unsupported block editor in the mobile apps, which allows users to open an "unsupported" block in a fullscreen webview for editing. I'm definitely concerned about performance and UX for this approach, but it is an interesting idea. Of course, this ties into your next question...
UX is definitely an issue. The current mobile-web experience feels rough to me, but we're actually going to start devoting some of our mobile development resources to improving the mobile web experience in the near future (cc: @enejb ). Even with a great mobile-web UX, mobile-web is still not as fluid and natural as a native mobile experience on Android and iOS imo, and many users prefer the native experience for that reason. I do think the gap between native and mobile web is continuing to narrow though, so I don't personally see this as a blocker necessarily, but it is a big consideration. Providing mobile users with robust offline support is also a big concern I would have with moving to a web-based implementation. That feels like a tricky, but probably a solvable problem.
No plans at this time. We should definitely keep re-assessing the mobile-web vs native mobile experience though. I will be very happy if someday the mobile web experience got so good that it becomes hard to justify a separate native mobile implementation for blocks. 🙂 |
Beta Was this translation helpful? Give feedback.
-
I'd like to know more about the plans for supporting non-core blocks in mobile apps.
I'm also interested in knowing more about why mobile apps are not using the web-based version:
Beta Was this translation helpful? Give feedback.
All reactions