Skip to content

create-todos class name #5

@RonyVidaur

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?

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