Comments (3)
Store events can be executed in a nested queue to ensure compatibility between Component bindings and external handlers bound via Store.subscribe
. This mechanism can lead to the evaluation of stale computations from the prior reaction loop.
To fix, simply add Store Events to their own dedicated Reactor Queue and unpack it prior to resolving computations and executing callbacks. This way, if a Store Event adds its own computations or callbacks because it has been bound via Components, they will be correctly evaluated in a single reaction loop.
Fixed in v.1.05-beta
from sekoia.
possibly related to synchronous handling -> #12
from sekoia.
still buggy after async implementation in v1.04-beta
from sekoia.
Related Issues (20)
- Add support for Components w/o specified element HOT 1
- Decide on synchronous vs asynchronous data handling HOT 2
- Scoped CSS HOT 2
- Compile Time Optimizations HOT 4
- [Component] Slots in template cause empty markup HOT 1
- Media Queries dont accept comma separated $refs HOT 1
- Store.clear not implemented
- Adding some demo code to the readme HOT 2
- Use IndexedDB or Cache API for Sever Cache HOT 1
- Computed Properties don't dispatch "data" event HOT 2
- Async observers may fire with identical data
- Bindings can only point to single instances
- refs that are also custom elements will overwrite [INTERNAL] on create HOT 1
- Change attribute handling to work like reactions HOT 1
- Refs not available the first time attributeChangedCallback fires HOT 1
- CSS engine needs work HOT 7
- Store refactor HOT 1
- (Component || Store).set() parameter should accept object HOT 1
- Store-bound data is not used for computed properties when it doesn't have reaction 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 sekoia.