vuex-smart-module
Type safe Vuex module with powerful module features (by ktsn)
vuex-module-decorators
TypeScript/ES7 Decorators to create Vuex modules declaratively (by championswimmer)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
vuex-smart-module | vuex-module-decorators | |
---|---|---|
5 | 5 | |
382 | 1,801 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | 8 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vuex-smart-module
Posts with mentions or reviews of vuex-smart-module.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-27.
-
Vuex on NodeJs Server
Hi, I'm working on a simple game that runs with a lockstep simulation (basically there's a single game state module that has state, mutations, and actions). Actions are sent to the server-side store, they're applied, and mutations are sent to all the clients. I'm having trouble getting the vuex store to work properly on the server-side. I was planning on mocking a lot of it but I keep bringing more and more of vuex along for the ride. For context, I'm using vuex-smart-module: https://github.com/ktsn/vuex-smart-module. So far the client side is working great
-
What are the production ready alternatives for Vuex with full TS support for Vue2 ?
Hello I'm working on a medium size application Vue2 which is using Vuex (around 20-25 modules) and since I cannot rewrite entire Vuex store - to use fantastic library https://github.com/ktsn/vuex-smart-module
-
Vuex and Typescript users, what library do you use?
I'm learning typescript at the moment, I've seen there's a few libraries out there to provide typed support, for example. https://github.com/mrcrowl/vuex-typex, https://github.com/ktsn/vuex-smart-module, do you have any reasons why you use one over the other?
-
Why using “vuex” with typescript is a pain?
If you are stuck in Vue 2 like me, the only way I found that kinda work is to use https://github.com/ktsn/vuex-smart-module. If your store is small I would try pinia or even composition api
-
Vuex helper that works properly with typescript
I also used vuex-smart-module with Vue 2 and Vuex 3. It's a TS wrapper. It gives type safety, it works pretty well.
vuex-module-decorators
Posts with mentions or reviews of vuex-module-decorators.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-22.
-
How to unit test Vuex modules defined with the vuex-module-decorators syntax in Nuxt, using vue-test-utils and Jest?
The most important thing to realise is that the vuex-module-decorators class-based model behaves just like a vue-class-component under the hood.
-
For anyone using Typescript with Vue 2 & 3, I've released a new version of my Vuex library that provides fully typed hooks of your module with less code. Tell me what you think of it!
This is my current favorite way to use TS+Vuex. It just clicks so much more in my head to do things like:
-
Is it ready already?
vuex-module-decorators: This one, I just realized, I use a little differently than I think is expected. Here is an example from their docs of what you can write and what it is equivalent to in "raw vuex":
-
Why would anyone not use Vuex?
If you're on Vue 2 I'd recommend this NPM https://github.com/championswimmer/vuex-module-decorators
-
How do you name your actions vs. mutations in Vuex to avoid confusion?
Using https://github.com/championswimmer/vuex-module-decorators. Every module is 'dynamic' so you don't have to predefine your entire store in an object. here is a small example:
What are some alternatives?
When comparing vuex-smart-module and vuex-module-decorators you can also consider the following projects:
pinia - 🍍 Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
vuex-class - Binding helpers for Vuex and vue-class-component