idris2-rhone-js icon indicating copy to clipboard operation
idris2-rhone-js copied to clipboard

Server side rendering tutorial

Open srghma opened this issue 1 year ago • 3 comments

how to accomplish what next.js accomplishes?

if website is requested first time - THEN send html with prerendered content ELSE (if just going to other page using browser) THEN request server /api for more data and render new page on browser side

srghma avatar Oct 17 '24 08:10 srghma

Sorrry, I don't understand the question. What is next.js?

stefan-hoeck avatar Oct 17 '24 11:10 stefan-hoeck

There is an HTML to String rendering function, but I suggest you have a look at idris2-dom-mvc, which comes without the FRP complexity of idris2-rhone-js.

stefan-hoeck avatar Oct 17 '24 13:10 stefan-hoeck