Skip to content

Conversation

SergeyKostikov
Copy link
Collaborator

No description provided.

@@ -1,6 +1,59 @@
class View{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not required to name it View. it could be a "mental abstraction" in your head.

On complex projects, MVC could be hidden, but from the relationships between classes/functions you would feel MVC :)
"it's smell like MVC"

}

createStructure(){
this.baseContainer.innerHTML += this.createHeader()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks weird, no need to create different blocks for it. just paste a html layout is fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants