You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe we don't have support for the SSR, as even with the latest versions I am getting few issues. Mainly when including any icons, it throws error on the server-side
ERROR ReferenceError: DOMParser is not defined
and also seeing errors like, mainly when using components like combo-box
undefined: requestAnimationFrame
undefined: cancelAnimationFrame
The text was updated successfully, but these errors were encountered:
We don't support SSR unfortunately. It hasn't been requested until now... I suspect that these requests may increase with the stable release of analogjs.
We wil need to work with the community on this one - there are quite a few components that use the browse API. For the icons, we can probably switch to Parse5.
For requestAnimationFrame user may have to create a polyfill that uses setImmediate for requestAnimationFrame 🤔
function requestAnimationFrame(f){
setImmediate( ) => f)
}
Welp! I initially thought there was a configuration I was missing, only to come here to learn there isn't SSR/SSG support yet. The application won't build in Docker, if it does it's by chance and you'd still get a couple of runtime errors. Hope this gets support soon!
I believe we don't have support for the SSR, as even with the latest versions I am getting few issues. Mainly when including any icons, it throws error on the server-side
and also seeing errors like, mainly when using components like combo-box
The text was updated successfully, but these errors were encountered: