An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

Gormim app
==========
Just a repro repo for https://github.com/meteorhacks/fast-render/issues/70

Have 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`