You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My question, is there a reason behind moving children out of the element and then removing that element? This seems detrimental to the initial performance (while the idea may have been to make a dom tree more shallow for future performance, correct me if I'm wrong)
Also, linter immediately complains about these things (these are just some remarks, I'm not complaining):
If you are using ngOnInit() in the component, the class must implement OnInit interface
All component class names must be suffixed with Component
If variables are not reassigned, you should use const instead of var (actually, you should never use var nowadays)
So, I fixed up the class and ended up with this:
The text was updated successfully, but these errors were encountered:
In release 1.0.2 the ngOnInit() function was removed in the components, but styles was not updated, so now the layout is pretty messed up. That because the parent of component with flex layout (for example app-footer) has not display: flex property.
I briefly checked the diff of the latest commit and it seems to be moving in the right direction. I will try to pull the seed project and check it out my self in a couple of days.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions
Now we have this in all app components.
My question, is there a reason behind moving children out of the element and then removing that element? This seems detrimental to the initial performance (while the idea may have been to make a dom tree more shallow for future performance, correct me if I'm wrong)
Also, linter immediately complains about these things (these are just some remarks, I'm not complaining):
So, I fixed up the class and ended up with this:
The text was updated successfully, but these errors were encountered: