we can build spa using react react-router and packup. if is possible to create function named "render" that take pathname as input and return html string, we can use std/http (or oak ...) to read pathname in the incoming request then call render function and return html response.
render function will be generated based on router at build time.
if this possible to generate this "render" we can build universal app on top of spa and packup in easy way.
we can build spa using react react-router and packup. if is possible to create function named "render" that take pathname as input and return html string, we can use std/http (or oak ...) to read pathname in the incoming request then call render function and return html response.
render function will be generated based on router at build time.
if this possible to generate this "render" we can build universal app on top of spa and packup in easy way.