Closed CacheMeOwside closed 4 years ago
Whenever a feature needs to be added, always check if it can purely be done using HTML or CSS. JavaScript should be the last option.
When you consider using JavaScript, before importing a library make sure if you can implement it on your own.
See the following issue:
The import cost of ReactTooltip is 8.5K, more than React itself. This will increase the script execution time and Javascript being a render-blocking resource, it will affect page load time.
The focus should be maintain the JS asset size as small as possible.
Try adding a title
attribute here and see if it works.
Screenshot of "Reset cycle" tooltip
Closing in favour of #36
Closes #27