Closed pymilone closed 2 months ago
Too generic in my point of view to be implemented as a rule. The idea is not bad but too much work is required at this point to create implementable rules in ecoCode. For this kind of rules, we need to be more precise.
Hello! In principle, I agree with the ticket statement: using a component developed as a native web component is less cumbersome than a framework component, because it doesn't embed any additional JavaScript to run the framework engine. But that's just theory. In my opinion, this rule poses the following problems and requires action:
With all these questions raised, I'm in favor of closing the ticket for the time being, pending further investigations and more precise ideas.
Architecture: Value usage of WebComponents
Platform
Main caracteristics
Severity / Remediation Cost
Rule short description
Since WebComponents are natively included in browsers, they are more lightweight than javascript frameworks.
Rule complete description
Text
Using native components is more lightweight than using libraries.
Implementation principle
Detect wether WebComponents or javascript frameworks are used and take it into account in a global score.