Creating Signals and fetching data outside of components #165
olegKusov
started this conversation in
Proposals For Qwik
Replies: 1 comment
-
|
We moved this issue to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
I have problem with ability to create good architecture of app with qwik. Now Qwik give us React-like experience with hooks, state and lifecycle hooks. And do not give us good way of handling big apps.
Describe the solution you'd like
Let's look at some state managers. Reatom give us ability to create Atoms (signals) outside of components and handle data fetching outside of components.

We can do even this:
Effector STM handle logic and data fetching and with Effector we can construct a lot of logic in declarative manner.
With atomic router we can even separate data fetching from lifecycle hooks: for example, on page change event Effector with Atomic Router can call Effect with data fetching and call route change via Atomic Router. And know we do not depend on lifecycle hooks - View of App reacts to the model, but not vice versa
Vue give us ability to separate view from model with templates. Angular give templates, DI. And what give us Qwik? How we can handle big apps? A lot of hooks inside components? But Why? Why we can't create new architecture - new way of app building? Why we using the same principles that React gave us many years ago? Yes Qwik is good performant framework but it's not enough today. We need easy way of working with business logic, easy way of scalability.
Qwik even do not have package for forms - its basic thing for frontend Framework. I wanna have all in one solution if its called 'framework'.
Describe alternatives you've considered
All in one solution for handling big projects.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions