TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Vuex Pathify – ridiculously simple Vuex setup and wiring

2 pointsby davestewartabout 7 years ago

1 comment

davestewartabout 7 years ago
I&#x27;ve just released the 1.0 version of Vuex Pathify.<p>Pathify provides a declarative, state-based, path interface to your Vuex store.<p>What that means in English, is that you access store properties by path, and only by path. The plugin simplifies Vuex&#x27;s API from 4 operations, 4 helpers, 3 accessor syntaxes and 3 or 4 naming formats to just 3 methods and a single path format.<p>Aside from the docs link above, there&#x27;s a bunch of CodeSandbox demos so you can jump in and work with real code straight away:<p><a href="https:&#x2F;&#x2F;codesandbox.io&#x2F;s&#x2F;github&#x2F;davestewart&#x2F;vuex-pathify&#x2F;tree&#x2F;master&#x2F;demo" rel="nofollow">https:&#x2F;&#x2F;codesandbox.io&#x2F;s&#x2F;github&#x2F;davestewart&#x2F;vuex-pathify&#x2F;tre...</a><p>Cheers,<p>Dave