4 ms·
Does static here mean the content served by the server doesn’t change, or that the content delivered by the server contains no dynamic JavaScript behavior.
by klysm 4y ago
Does static here mean the content served by the server doesn’t change, or that the content delivered by the server contains no dynamic JavaScript behavior.
- mbreese 4y agoThe former. No processing is required by the server. It just sends the HTML/images/JS/resources over the line, so the site could be served from anywhere or any CDN. The client side can be as dynamic as you’d like, but the main server can be dumb. For dynamic data sources (product search, etc), you’d have to call a remote API from the client.
- klysm 4y agoIf this is the case, then doesn't it make sense to use react for dynamic parts? If you are using react for the dynamic parts then why not use it for the static parts as well?