Giter VIP home page Giter VIP logo

Comments (7)

luics avatar luics commented on May 5, 2024 1

Wonderful idea!

from weex.

Jinjiang avatar Jinjiang commented on May 5, 2024 1

Thx @smolinari That's great!

I understand this as a responsive server data way. Both this and Vuex will power Weex up. We can bring them on in the future.

from weex.

smolinari avatar smolinari commented on May 5, 2024

This library might also be helpful.

https://github.com/apollostack/apollo-client

Use it with a Redux store and you have a pretty powerful GraphQL system. They are also planning to incorporate the fragment collection in components. So, everything that is needed will be available.

Or, you can figure out how to connect it to Vuex. That might also be a cool solution too.

Scott

from weex.

smolinari avatar smolinari commented on May 5, 2024

That sounds great! I think Facebook hit gold with the GraphQL API. They went out to solve a bunch of big basic problems with REST APIs and found it in GraphQL.

Does Weex use Ajax/ REST currently?

Scott

from weex.

Jinjiang avatar Jinjiang commented on May 5, 2024

Currently we have a simple sendHttp API to use. Well I think that's not enough. Need to be enhanced.

from weex.

smolinari avatar smolinari commented on May 5, 2024

I also learned that a Redux storage system isn't the right solution for Vue, as it doesn't take Vue's type of reactivity system into account (i.e. virtual DOM diffing or dirty checking against Vue's way of two-way bindings). This concern will cause performance problems later. So, the better solution is to go with Vuex and connect up a GraphQL client like Apollo directly.

Scott

from weex.

Jinjiang avatar Jinjiang commented on May 5, 2024

Hi @smolinari , this issue will be collected into #1494 which collects all new feature requests and inactive open discussions. We hope to do this to make sure the open issues represent current focus and active jobs in community and the team. If we decide to resolve this problem or make it active. It will be reopened again.
Thanks for your support :-)

from weex.

Related Issues (20)

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.