Menu

📰
0

How are you managing complex state in larger Vue apps without it becoming hard to reason about?

Reddit r/vuejs·u/Sad_Limit_3857·about 1 month ago
#qNem6VmB
#state#apps#larger#people#logic#article
Reading 0:00
15s threshold

As Vue apps grow, I’ve noticed state management gets messy faster than expected, especially with things like:

  • multi-step forms
  • shared state across unrelated components
  • async API states/loading/errors
  • caching + optimistic UI updates

For smaller apps, local state and props/events feel fine. But in larger projects, I’m curious what patterns people actually prefer in practice.

Do you usually:

  • keep most logic inside composables?
  • centralize more aggressively with stores?
  • split domain logic outside Vue entirely?

Not looking for a “one true way,” just trying to understand what has stayed maintainable for people building bigger Vue applications.

Read More