Client-side rendering doesn't work on safari/ios. Fallback to server side rendering if it fails