Comments (2)
The first testGet2 changed
log is expected, because the auto
call needs to run the given function immediately to figure out what should be observed.
The second auto
call being delayed is also expected, because the Auto
class uses Promise batching to avoid intermediate reactions. Note: You can pass { sync: true }
if you ever need a synchronous reaction.
auto(effect, { sync: true })
Otherwise, bug confirmed with the nested observable getters!
from wana.
Ok great, thanks!
from wana.
Related Issues (20)
- Shorthand syntax for "Auto" reactions HOT 4
- Could not find module in path: 'is-dev' HOT 29
- Dates transfromed into Maps HOT 2
- Maintaining Caret Position with Input Fields HOT 7
- Watch a single property without "auto" HOT 5
- Safari - TypeError: Map operation called on non-Map object HOT 4
- Event history HOT 8
- Illegal invocation in codesandbox HOT 3
- globals.beforeChange HOT 11
- Auto failing with observable getters HOT 6
- Sync auto fails with add / remove changes HOT 2
- `watch` function does not detect "define" changes
- Object spreading does not pick up new properties
- Non-enumerable properties are not observable
- Make useBinding a no-op if used in withAuto component HOT 1
- react.useState is not a function HOT 5
- External Observables HOT 5
- prevent auto from updating its observers HOT 4
- Parcel 2 - Uncaught ReferenceError: nonce is not defined HOT 2
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 wana.