-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not use Session as it's Migrated across reloads #13
Comments
Hi Robert - what bad behavior did you observe as a result of this?
|
Yea reactive var is probably a better way to do it. One of the issues that all this is attempting to fix could return. The goal of this little dance is to wait until polymer is ready before we even attempt to render our meteor templates via IR, which contain polymer elements. If polymer is not ready by the time they render, helpers and events on them could attempt to use polymer functionality on those elements before they have been upgraded. On a related note, we need to render IR to a child element due to an apparent incompatibility between some polymer interaction with the |
Reactive variables are being used now instead of Session which does make sense to me. |
Yea, that's what I did in the application I'm working on. |
Just ran into this.
https://github.com/Differential/polymer-demo/blob/master/client/init.coffee#L3
https://github.com/meteor/meteor/blob/devel/packages/session/session.js#L1
https://github.com/meteor/meteor/blob/devel/packages/reactive-dict/migration.js
http://docs.meteor.com/#/full/reactivevar
The text was updated successfully, but these errors were encountered: