Skip to content
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

Update 03-forms-and-events.md #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update 03-forms-and-events.md #31

wants to merge 1 commit into from

Commits on Nov 18, 2021

  1. Update 03-forms-and-events.md

    Inconsistency between the code in step https://blaze-tutorial.meteor.com/simple-todos/02-collections.html#2-3-Render-Tasks-Collection and https://blaze-tutorial.meteor.com/simple-todos/03-forms-and-events.html#3-4-Add-Submit-Listener.
    
    ```javascript
    return TasksCollection.find({});
    ```
    is suddenly changed to
    ```javascript
    return TasksCollection.find({}, { sort: { createdAt: -1 } });
    ```
    Sure it makes sense to sort the results, however it might be better to have this sorting code only included later on, that is, in the next step where it is explained. https://blaze-tutorial.meteor.com/simple-todos/03-forms-and-events.html#3-5-Show-Newest-Tasks-First
    robots4life committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    2de66c0 View commit details
    Browse the repository at this point in the history