https://github.com/rantav/fast-render-issue-70
a repro repo for https://github.com/meteorhacks/fast-render/issues/70
https://github.com/rantav/fast-render-issue-70
Last synced: 2 months ago
JSON representation
a repro repo for https://github.com/meteorhacks/fast-render/issues/70
- Host: GitHub
- URL: https://github.com/rantav/fast-render-issue-70
- Owner: rantav
- Created: 2014-10-28T05:23:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-28T06:13:35.000Z (over 10 years ago)
- Last Synced: 2025-01-28T02:11:55.981Z (4 months ago)
- Language: CoffeeScript
- Size: 664 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Gormim app
==========
Just a repro repo for https://github.com/meteorhacks/fast-render/issues/70Have a look at:
* `both/router/routes.coffee` `fastRender: true` (routing)
* `both/collections/teams.coffee` (logic)
* `server/collections/teams.coffee` (publication)Note: with each restart the database is being reloaded from fresh (form the file lorem.coffee).
If you want to disable that look into `Meteor.startup` in `server/collections/teams.coffee` and `companies.coffee`To repro:
* `meteor`
* open http://localhost:3000/team/lorem
* Click on Edit.
* => It should change to Cancel/Save (but it does not, that's the bug)* Next comment out `fastRender: true` in routes.coffee, save and reload.
* Now click Edit. It changes to Cancel/Save, as it should.** Note that with each server restart the data in the teams collection gets reloaded so effectively the edit mode gets reset to not-editing on server restart. You can disable this in the `Meteor.startup` block in `server/collections/teams.coffee`