GithubHelp home page GithubHelp logo

Comments (7)

levchak0910 avatar levchak0910 commented on May 23, 2024 3

I found awesome state manager Harlem for vue 3 and decided to use it instead plain Composition API

from vue3-realworld-example-app.

eshimischi avatar eshimischi commented on May 23, 2024 2

Better option nowadays to use Pinia

from vue3-realworld-example-app.

mutoe avatar mutoe commented on May 23, 2024 1

Most of our system features has been completed, and I will work on the test next(cypress e2e test).

from vue3-realworld-example-app.

mutoe avatar mutoe commented on May 23, 2024 1

For e2e tests exist this repo
Maybe it will be easier to copypaste some tests)

Emm... Shocking! So Let me just copy it 😆

from vue3-realworld-example-app.

mutoe avatar mutoe commented on May 23, 2024

I agree with you. Actually this small system isn't necessarily using Vuex (and Redux in React). I only added it because I wanted to use the Vuex in the Vue3 and see how it worked.

Turns out to be a little tricky, and does not support TypeScript well (including the current type declaration for props).

I agree to use the modes Provider and Customer for state management, which is kind of like the Context in which React hooks are. It's important to note that this would be radical, but I support the point worth making. Go for it!

from vue3-realworld-example-app.

levchak0910 avatar levchak0910 commented on May 23, 2024

For e2e tests exist this repo
Maybe it will be easier to copypaste some tests)

from vue3-realworld-example-app.

mutoe avatar mutoe commented on May 23, 2024

Better option nowadays to use Pinia

Thanks for the reminder, will consider it in future :)

from vue3-realworld-example-app.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.