The Font Awesome v5 WordPress Problem
This blog post is mainly to draw attention to the brewing problem with using Font Awesome v5 in your WordPress Plugin or Theme. What is Font Awesome?
It’s a little CSS (or JS in v5) file that you can add to your site to be able to use lots and lots of fancy icons on your site.
What’s the problem?
There are really two problems;
1. The first (less serious) problem is a common problem with JS/CSS libraries and WordPress and can affect FA v4 not just FA v5, that is the fact that two developers might add the script and use different names so the same file gets added to the website twice. The fix to this is relatively simple and is resolved by the two devs using the same name to add the file, we use and we suggest “font-awesome”.
2. The main brewing problem with using Font Awesome in WP these days is that FA v5 introduced a new way to use it, in FA v4 it was always just a CSS file but now it can be used either as a CSS file or as a JS file. This is fine for “Joe Blogs” with his html website but once you are using a CMS (content management system) like WordPress which has plugins built by many many devs you have the situation that both the CSS and the JS
Source: https://managewp.org/articles/17925/the-font-awesome-v5-wordpress-problem
source https://williechiu40.wordpress.com/2018/10/01/the-font-awesome-v5-wordpress-problem/