Skip to content

create-todos class name #5

Description

@RonyVidaur

When following the tutorial I noticed you copied and pasted the code from todo-list, you updated the code as necessary, however you didn't change the line where it says export default class TodoList
the code still works though.
I did place the 'correct' name for the class when following along and of course it works aswell.
So basically I just wanted to know, why does it works both ways? would that line of code have any undesired side-effects?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions