Currently, when used with expo-web (Next.js), during SSR, font loading doesn't happen (obviously), which results in icons not being rendered during SSR. I've narrowed this down to the this logic:
It may require additional work still to make sure the font is part of the web CSS, if this is inside of the scope of this project, I'm also willing to look into adding support for this 👍
Currently, when used with expo-web (Next.js), during SSR, font loading doesn't happen (obviously), which results in icons not being rendered during SSR. I've narrowed this down to the this logic:
https://github.com/expo/vector-icons/blob/c3e068185fac0b45629188e53cdf81c34f4e7849/src/createIconSet.tsx#L153-L155
Would it be acceptable if I send over a PR that disables this check if
Platform.OS === "web"
?