|
| ▲ | codetantra 12 minutes ago | parent | next [-] |
| If you are dealing with a static site then Astro makes more sense. Renders to just plain HTML while still allowing you to provide interactivity for part of page components using React or any framework by creating what Astro calls an island.
You get best of both worlds, rich interactiveness by using JS and plain HTML/CSS where you need static. |
|
| ▲ | patates 6 hours ago | parent | prev | next [-] |
| I had had a client cancel a job when they heard it's not going to use Wordpress. It was going to be a dashboard showing statistics (air quality, room bookings etc.) from their facility. |
|
| ▲ | davidodio 6 hours ago | parent | prev [-] |
| why? jsx is a great language for templating, the ui being a function of state is an incredible model. i am not a huge nextjs fan but React, mdx and friends are great for pre-rendered static content |
| |
| ▲ | skydhash 3 hours ago | parent [-] | | Isn’t all templates language that way (blade, jade,…)? The main selling point of JSX is being a DSL for React, which present a functional model instead of the imperative paradigm of the DOM API. |
|