3 ms·
Lol no. If you HTML is generated, it's by definition not static anymore. Otherwise, all of the React server side rendering is static HTML.
by meghan_rain 4y ago
Lol no. If you HTML is generated, it's by definition not static anymore.
Otherwise, all of the React server side rendering is static HTML.
- superkuh 4y agoOh, so when I make an .html file in Dreamweaver WYSIWYG HTML editor and save the .html file to my websever ~/www/ dir it is automatically not a static page anymore because I used a program to generate it? This is a very wild and weird interpretation of 'static site' that does not fit with existing usage.
- Kiro 4y agoYou are the last person to have a say in that considering your incorrect take that JS can't be static. You're clearly misaligned with common usage of terms.
- superkuh 4y agoWhen javascript started being able to change HTML significantly the result was literally named "Dynamic HTML". So it is clear this is not a static HTML page. The only thing left to argue is weather it is a static web site. People who got into web dev after 2010 will say yes, people who watched HTML/JS evolve over it's lifetime will say no.
- GeneralTspoon 4y agoNo, because React is dynamically generating the HTML on the fly. If you pre-compile the HTML using something like Jekyll, so that the webserver is just serving HTML files without any dynamic/on-the-fly processing at request time, then it's considered static.
- matsemann 4y agoReact server side rendering: most likely dynamic React on the client side: static, as you still got the same files served, how they dynamically alter the page runtime doesn't count.
- SamBam 4y agoThis is the most bizarre argument. Of course you can use build tools to generate static web pages. The issue is whether they are being generated dynamically by a server. This project isn't. You run a build-tool once and then can post the .html page anywhere. It's static.