DEV Community

Sandor Dargo
Sandor Dargo

Posted on • Edited on

1 1

DevAnalytics at DOHackathon: Extracted till I dropped

As I mentioned yesterday, I asked for coaching from on my mentees about Angular, so I became the mentee and she became the mentor.

Among others, she showed me how I can extract components in Angular, how I can and should @Inputs instead of constructors.

Today, I went on this path and I ended up with 4 child components.

  • One for article analytics
  • One for tag analytics
  • One for article stats cards
  • And one for tag stats cards

I also finetuned a bit my styling, so the cards are nicely aligned even in between the rows.

I feel that now I have what I originally wanted and I'm kind of happy with how it looks like - given that I'm a backend person and I prefer the command line to any UI in general.

But I still have 10 days until submission, so I'm going to enhance a bit the statistics DevAnalytics offer.

Until then, feel free to try and leave any suggestions you might have.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay