https://github.com/zeit/next.js/tree/master/examples/using-preact Initially its rendering the content and immediately removing it from DOM. Same happening on every page refresh. No errors on browser console or terminal. 