Logo BrocksiNet

BrocksiNet

Try to clean the web
02.12.2021javascript
How to find DOM elements with a lot of childs?

When you think about the core web vitals then you will find this claim "Avoid an excessive DOM size". This is easy to say, but sometimes hard to achieve. Also the page about dom-size at web.dev gives you only some general advices. When you once had a page that is really slow, just because someone created a quantity select element with over 500 options for every product on a category page with 48 products. And then Lighthouse tells you that the DOM size should be below 12.000 elements.

25.11.2021javascript
Remix.run - SSR, nested routes, eliminate loading state

Every day a new javascrip framework 🎉 But this day we have one that is the top 1 trending repository (at 2021-11-24) at github 🤩 from the creators of the react router peps (used by over 2.8 mil.). So what has Remix to over?

16.11.2021shopware-6
What's the difference between product.repository and sales_channel.product.repository in Shopware 6?

Looks easy? 😉 But did you checked in detail the differences or you just use always the product.repository? Let's deep dive into the core files to fully understand the differences so you can decide what to use when. 💙