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
Writing canvas #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Schaut gut aus soweit. Mir ist aufgefallen, dass du aktuell noch einen großen Teil des Codes auskommentiert hast. Das hat es für mich etwas schwer gemacht, den Code richtig zu lesen, also vielleicht kannst du ja nochmal ein bisschen schauen, was vielleicht gelöscht werden kann.
src/App.js
Outdated
<Canvas> | ||
<WordStream /> | ||
</Canvas> | ||
// </GlobalStyles> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Du hast die GlobalStyles aktuell auskommentiert, wenn du sie wieder rein nimmst, solltest du sie als void komponente verwenden, also und dann ganz an den Anfang von der App.js funktion oder innerhalb der index.js vor die App componenten einfügen. Die GlobalStyles können andere Elemente nicht umschließen, so wie du es aktuell hier hast.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gut gesehen, stimmt. Ich habe die GlobalStyles jetzt völlig gelöscht, weil ich sie noch gar nicht brauche.
src/Canvas.js
Outdated
// background: teal; | ||
// display: grid; | ||
// grid-template-columns: 50% 50%; | ||
// ` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Du hast hier im Moment alles auskommentiert, kann er so überhaupt die App rendern im Moment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooops, ja. Da habe ich statt der Canvas.test.js die Canvas.js auskommentiert. Ich habe es in einem neuen Commit berichtigt.
No description provided.