I am working on a project which has a PHP back-end, but which has access to a PHP V8 (https://github.com/phpv8/v8js) module, which means I can perform some sort of SSR behind-the-scenes and render the HTML/javascript before the page load- I'm curious if that is at all possible to accomplish using basically just V8 and solidjs in this way?
I mean, I can use
renderToString
renderToString
to extract the HTML, but I also need to generate and render the javascript which accompanies my page, in order to allow it to be interactive.
V8 Javascript Engine for PHP โ This PHP extension embeds the Google V8 Javascript Engine - GitHub - phpv8/v8js: V8 Javascript Engine for PHP โ This PHP extension embeds the Google V8 Javascript Engine