Comments (14)
Thanks, a repro would be much appreciated!
from meteor-reactive-method.
@stubailo Here's the repro
from meteor-reactive-method.
Especially notice that you can only click invalidate
button once.
from meteor-reactive-method.
Is a Computation
automatically "stopped" onInvalidate?
https://github.com/meteor/meteor/blob/devel/packages/tracker/tracker.js#L567
And then ReactiveMethod deletes computation here?
from meteor-reactive-method.
I don't think you posted the repro when you said "Here's the repro"
from meteor-reactive-method.
Look at the original comment. My bad
from meteor-reactive-method.
I believe I got it working. Check out how I did so manually in the working
branch of my repo
https://github.com/ecwyne/reactive-method-issue-10/blob/working/invalidate-example.js#L16-L17
from meteor-reactive-method.
After deleting the _reactiveMethodData
property we need to run the Computation._compute()
method instead of the Computation.invalidate()
method
from meteor-reactive-method.
PR: #11
from meteor-reactive-method.
I ran into this issue as well, hoping PR #11 fixes this :)
from meteor-reactive-method.
I'm having this issue as well, has it been resolved by PR #11?
from meteor-reactive-method.
+1
from meteor-reactive-method.
I think that the error is because the command:
recordMethodComputation(cc, serializedArgs);
is inside the else and this command should run for both conditions (if and else)
from meteor-reactive-method.
+1
from meteor-reactive-method.
Related Issues (17)
- Comment: HOT 3
- Infinite loops result if arguments to method calls evaluate differently on each run of the function HOT 20
- Code evaluates key rather than check for its presence HOT 2
- Could i use reative method in iron-router? HOT 7
- [feature] - trigger method to rerun HOT 7
- Getting the same (old) result returned HOT 2
- Could I check ready (waiting) form server? HOT 2
- Don't auto update when the Collection updated. HOT 4
- [Feature] - Template Helper HOT 1
- Method rerunning even if args dont change HOT 5
- Migrate over to deanius:promise
- Not working with ReactJS HOT 3
- Error: Expects a function HOT 1
- A helper runs multiple times
- The helper only updates template on browser refresh
- using with mdg:validated-method
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 meteor-reactive-method.