Comments (2)
Thanks for the comments and praise! Cool library as well. To briefly address each main point:
- I am aware of this now and plan to change in the next major release.
- Good idea, I'll likely add a dedicated
ipc.store.onChange
or something of the sort soon. - 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.
- Great to hear!
- 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. - 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)
- Window events
- Custom useragent HOT 1
- How do I package a Gluon app as a native exectuable? HOT 1
- Sample app crashing HOT 3
- HTTPS required for gluon apps? HOT 5
- Change behavior of deno branch to create 'gluon_data/chrome' in current directory HOT 1
- Thorium as a recommended gluon brower-base HOT 5
- Switch CDP -> WebDriver BiDi
- IPC will not be available after page refresh HOT 1
- Error on startup of first example HOT 6
- Links that open in new tab, don't open new browser in firefox, while in edge they do
- Add brower support
- Possible to Use Bundled Wep App (e.g. Vue) Instead of URL HOT 1
- Automatic browser failure fallback
- System installer
- CDP reply error.
- Using gluon on existing Node.js app
- ReCaptcha v2 doesnt work HOT 1
- Browser unsupported for nextcloud server site HOT 1
- Project Status HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gluon.