(prop)
| 1136 | } |
| 1137 | |
| 1138 | getPropertyPerformanceImpact(prop) { |
| 1139 | const highImpact = ['box-shadow', 'text-shadow', 'filter', 'backdrop-filter']; |
| 1140 | const mediumImpact = ['border-radius', 'opacity', 'transform']; |
| 1141 | |
| 1142 | if (highImpact.some(p => prop.includes(p))) return 'high'; |
| 1143 | if (mediumImpact.some(p => prop.includes(p))) return 'medium'; |
| 1144 | return 'low'; |
| 1145 | } |
| 1146 | |
| 1147 | getPropertyBestPractices(prop) { |
| 1148 | const practices = []; |
no outgoing calls
no test coverage detected