What kind of front-end architecture can ensure flexibility and avoid mega-scale?

currently working on a saas platform

what kind of architecture can meet the following requirements:

  1. Separation of front and rear ends
  2. flexible selection of front-end technology, less historical burden, convenient maintenance, and organizational norms
  3. avoid bloating. Single-page applications will get bigger and bigger. How to avoid
  4. facilitate multi-terminal adaptation

is there an example of a ready-made front-end micro-service architecture?


small and medium-sized projects vue, larger react,vue is small and flexible, react is heavy, but the code organization is relatively standardized and easy to maintain, depending on your own needs. I personally think that react+redux had better be used by large-scale applications, otherwise you can't experience the pleasure brought by redux, but it is an encumbrance.


the problem of microservices is very difficult

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdb57d-3124b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdb57d-3124b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?