front works

This commit is contained in:
2023-02-21 19:44:30 +01:00
parent c7f2c5b5f4
commit 1c032c9f5e
2 changed files with 6 additions and 2 deletions

View File

@ -10,3 +10,5 @@ Common packages involved :
* [ESLint](https://eslint.org/) with [Prettier](https://prettier.io/) for linting and code formatting
* [Iconify](https://github.com/iconify/iconify) as universal icons
* [TanStack Query](https://tanstack.com/query), compatible with `Vue` and `React` for nice API communication and powerful caching system
To sum up, at the time of `Vue 2` (**Options API**) and `React <16.8` (**class components**), it was a complete different DX and each framework have their own unique way to develop components. But now with `Composition API` and `React Hooks`, the gap is much smaller and became just a matter of taste, `JSX` vs `Vue template`, tooling, community, etc.

View File

@ -2,6 +2,8 @@
It uses [React Context](https://beta.reactjs.org/reference/react/useContext) as minimalistic store system, without extra complexity from external libraries like [Redux](https://redux.js.org/) or [MobX](https://mobx.js.org).
Compared to `Vue` implementation, it seems less magical and more explicit, as it likes for `Symfony` VS `Laravel`. Don't require heavy Typescript IDE tooling like `Volar`, because it's just pure TS function components.
Additional packages :
Finally, maybe thanks to `Typescript`, the DX between these 2 frameworks is far more similar than before. At the time of Vue 2 (Options API) and React <16.8 (class components), Vue was a totally different option than React. But now with `Composition API` and `React Hooks`, the gap is much smaller and is just a matter of taste, `JSX` vs `Vue template`, tooling, community, etc.
* [Generouted](https://github.com/oedotme/generouted), file based routing system with layout support, compatible with Vite
Compared to `Vue` implementation, it seems a bit less magical and more explicit, as it likes for `Symfony` VS `Laravel`. Don't require heavy Typescript IDE tooling like `Volar`, because it's just pure TS function components.