Describe the bug
When a title attribute is added to an icon, FontAwesomeIcon generates a unique ID... unfortunately, this unique ID does not work in an SSR environment. The ID is different on the server and the client.
Reproducible test case
<FontAwesomeIcon icon="user" title="User" />
Expected behavior
The unique ID should be the same on the server and the client.
Desktop (please complete the following information):
@sei-jdshimkoski this is not documented well but you can set props titleId and maskId to prevent these from being auto-generated. Give that a try and let us know if that doesn't work.
Describe the bug When a title attribute is added to an icon,
FontAwesomeIcon
generates a unique ID... unfortunately, this unique ID does not work in an SSR environment. The ID is different on the server and the client.Reproducible test case
Expected behavior The unique ID should be the same on the server and the client.
Desktop (please complete the following information):
Additional context You can see this repo for an example on how to create SSR-friendly unique IDs: https://github.com/shimyshack/uid