jellyfin-archive / jellyfin-react-client

Next Generation Client for Jellyfin
https://jellyfin.org
Mozilla Public License 2.0
86 stars 29 forks source link

Is it true that the PC and mobile isomorphisms are feasible? #36

Closed fhyoga closed 4 years ago

fhyoga commented 4 years ago

The goal of this project, I want to say some of my own views, may be biased. I think the mobile and PC should be divided into two projects. React Native and Electron isomorphic development may not be a good idea.

  1. The RN itself is limited by the platform and sacrifices a lot of performance and interactive experience for code isomorphism. This also makes PC-side applications unable to achieve the best interaction.
  2. For PC and mobile isomorphism, you need to write a lot of configuration, hack, and compatibility code.

Advantages of separate maintenance:

  1. You can use the best interaction of your platform without having to consider how to make a platform compatible. Can reduce mental burden
  2. Code quality will improve and maintenance costs will decrease
  3. Potential contributors are more likely to get started, maybe this project can progress faster

My point is:

I recommend splitting into two project developments, the mobile side is based on RN implementation, and the PC side is based on Electron+React.

EraYaN commented 4 years ago

These problems are all academic when there are no developers. Of course native-(ish) development would be much better. But we frankly do not have the bodies to throw at it. Anyone is free to start a full React-DOM UI.