There is a 6-KB 0-build-step web framework Petite Vue by Evan You: https://github.com/vuejs/petite-vue . How is Fresh better that this?
Fresh – Next-gen web framework
371–380 of 463 posts
Re: Fresh – Next-gen web framework
#372Why am I not surprised. Yet another javascript framework... I'm tired
Re: Fresh – Next-gen web framework
#373It's very clean and simple, I like it.
Re: Fresh – Next-gen web framework
#374Re: Fresh – Next-gen web framework
#375A bit off topic here, but can anyone identify which documentation tool this is? https://fresh.deno.dev/docs/getting-started/adding-interacti... It's very clean and simple, I like it.
https://github.com/lucacasonato/fresh/pull/108/files#diff-27...
Although the way it's implemented seems similar to mkdocs.
Re: Fresh – Next-gen web framework
#376Re: Fresh – Next-gen web framework
#377Earlier quoted context omitted.
Knowing what it is now, describing it that way makes total sense... but it only works for people after knowing what it is... kind of like an inside joke. For anyone wondering what it means: it ships only the JS for select components (usually ones that have some sort of client-side interactivity, such as the incrementing counter on their demo page), so it only has to hydrate that part (where hydration is reconciling t…
I'm not an Uncle Bob fan by any stretch of the imagination, but he wrote a somewhat famous article about this phenomenon: http://blog.cleancoder.com/uncle-bob/2014/06/20/MyLawn.html With each new wave - we get people that either lack the time, the willpower or the conditions to understand what came before them (the ground they're standing on), and this is how we end up rediscovering things every 2-3 years. It's much…
What React introduces is functional composition to application design (if you do it right at least), and the main benefit of this is in maintainability, scalability, and reusability. For most simple apps this benefit can be completely moot, which is why some can feel the setup or learning of a new paradigm for seemingly no benefit can be a regression.
In fact if you wanted to use React in the same way that PHP was used a decade ago, you still can, and it isn’t any more difficult to do so. You just end up with much less maintainable code. You can render React server side just like PHP, and either mount dynamic client side interactive components purely on the client side just like the “good old days,” or you can also render them server side and take advantage of client side hydration at the component level (like the previous method but you also get an initial server render). While this sounds complex, it really is just about as complex as making a server rendered PHP with some interactive JS bits, but just adding some new words to describe the process.
The goal of new React features like server components is to bring the maintainability of functional composition and get this optimization for free while still being able to define your UI in terms of reusable functions.
Re: Fresh – Next-gen web framework
#378Re: Fresh – Next-gen web framework
#379Earlier quoted context omitted.
I'm not an Uncle Bob fan by any stretch of the imagination, but he wrote a somewhat famous article about this phenomenon: http://blog.cleancoder.com/uncle-bob/2014/06/20/MyLawn.html With each new wave - we get people that either lack the time, the willpower or the conditions to understand what came before them (the ground they're standing on), and this is how we end up rediscovering things every 2-3 years. It's much…
I’ve been developing for the web since, well not quite 30 years ago (PHP isn’t even 30!), but let’s say 25 years ago. I’ve used so much different tech in those years that I have a pretty good sense of it, and I even contributed to the development of both PHP and React. And you are totally off base. Modern frameworks are far superior for building modern web apps than older serverside tech. Demands have changed and so…
Re: Fresh – Next-gen web framework
#380Why am I not surprised. Yet another javascript framework... I'm tired