-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an example of code without pathify vs with pathify #66
Comments
That's a good suggestion. I've really struggled with keeping the docs to a minimum on this lib, but I think that could be helpful. There are examples dotted throughout the docs, but you're looking for just a single place, perhaps:
? |
Yes, although it could just be one direct comparison on the pathify 101 page. I found some direct comparisons of pathify vs vuex methods on the components helpers page. Basically I was looking for the equivalent vuex code, because thats what I know and where I come from. |
Shouldn't this be closed ? I already see examples of vuex equivalent code in docs. |
@WhiteBookmark Yes, if you dig deep you will see examples. |
I'm happy to add another section with some basic examples. It's really hard to get the level of detail right in the docs. I always aim to keep them lean, but always end up writing much more than I would like to have, hence it becomes harder to find things. In an ideal world, I'd make the docs leaner, but I doubt that will happen, so this is a good compromise. |
Keeping the docs simple and short is admirable. However as a new user exploring, it is verying important that the first thing they read in the readme on GitHub or on NPM includes enough to make them think it will be useful and worthwhile for them. I am all for adding a simple "pathify lets you go from ... to ... and that is why you should try it. Seeing the actual code change it huge. For me seeing what |
Coming in from heavy use of vuex in an app I'm working on it took me a while to understand why I needed pathify.
I found it very hard to understand how pathify reduces my code until I found this post comparing regular vuex methods to pathify.
I would suggest you add at least one such example on the pathify 101 page or a similar introductory page.
The text was updated successfully, but these errors were encountered: