GithubHelp home page GithubHelp logo

RFC: Next-gen IPC about gluon HOT 2 OPEN

gluon-framework avatar gluon-framework commented on September 14, 2024
RFC: Next-gen IPC

from gluon.

Comments (2)

CanadaHonk avatar CanadaHonk commented on September 14, 2024

Thanks for the comments and praise! Cool library as well. To briefly address each main point:

  1. I am aware of this now and plan to change in the next major release.
  2. Good idea, I'll likely add a dedicated ipc.store.onChange or something of the sort soon.
  3. This is a pretty neat idea although don't want to make things too complicated, will discuss the idea around to get some thoughts.

Happy to talk more on Discord too.

from gluon.

amiller-gh avatar amiller-gh commented on September 14, 2024
  1. Great to hear!
  2. Awesome, that'll make frontend framework integrations a breeze. Since the state objects are also user-defined-key-dumping-grounds, it may be good to consider an api like Gluon.onStoreChange(myStore, (...args) => { /* callback */ }) to avoid polluting the namespace in the same way as point 1.
  3. An IPC State / Method object factory may be a nice internal model to take for code organization regardless, even if you never expose the factory functions and simply use it to create the single "global" state / method objects on Gluon.ipc used now. That would give the project the flexibility to choose to expose the factory functions in the future, even if it's buried in the documentation as an "advanced" feature. A lack of name-spaced objects would def block our larger app's adoption in the future, but 100% hear you on the complexity argument for the average user.

Will see you on Discord!

from gluon.

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.