|
|
|
|
|
by bsimpson
4156 days ago
|
|
The architecture (shared business logic with platform-specific UI) sounds a lot like React Native. The difference is that in RN, your UI is primarily specified in JSX on all platforms. This means you can even reuse a lot of your non-platform-specific UI. I expect that in a year or two, there will be a React Native UI library that implements Material Design on Android and the Web, perhaps even with iOS bindings for things that are similar across platforms. It will always be a best practice to adopt the conventions of the platform you're on, but it does nobody any good to implement the same UI three times. Reuse your <Text>, your <Image/>, your <ProductListing/>, etc. and save the platform-specific UI for things that change across platforms (like navigation paradigms). |
|