Comments (2)
Actually, waitOn function's context(this) is different from the client on the server. You need to some special handling for that.
Only this.params
and this.path
are available on the server. You can do something like this.
waitOn: function() {
var limit = (this.limit)? this.limit() : 10;
return Meteor.subscribe('publicURLs', limit);
}
P.S. With that error, FastRender does not make your app faster for that route.
from fast-render.
Thank you for the elegant solution, @arunoda. The package works flawlessly now.
from fast-render.
Related Issues (20)
- Meteor 1.3.2.1 - Breaking Changes to Fast Render HOT 15
- Meteor.user() isn't there anymore HOT 4
- fast render in [if lt IE 9] tag
- Debug doesn't works in Webstorm 2016 HOT 1
- Looks like someone is trying to use fast render to load external information? HOT 2
- Automatic login broken with FlowRouter 2.12.2 and Meteor 1.3.3.1 HOT 4
- Meteor 1.3.3.1 unwanted number of same user object
- Caching issues, and waiting for "real" (i.e. not fast-rendered) data
- Not working on 1.3.4.4 HOT 18
- undefined Meteor.user() when no connection established HOT 1
- Fast-Render and 'imports'.
- Can this be used without routes?
- Routes with params and reactivity with template level subscriptions
- Is there a clash with PrerenderIO
- Fast render debugger return "[]" on Meteor 1.3.4.4 HOT 3
- Use with mantra HOT 2
- Fast Render Not Working in Meteor 1.4.2 HOT 28
- Anyway to reinit Fast Render? Re-grab data from HEAD and fill up Minimongo? HOT 1
- error on fast-rendering path: (...) ; error: TypeError: dynamics.slice is not a function HOT 4
- fix pl, context.js .. Fibers.current._meteor_dynamics = []
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 fast-render.