Live data from Hacker News

Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

deno.com

51–57 of 57 posts

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#51

Earlier quoted context omitted.

Isn't className custom DSL in React? Vue's concepts in the v-* are more pleasant than the React way, imho. Learning a bit of DAL is not a blocker for me, given how many tools already require this

I'd rather just use JS syntax than learn a random v-* syntax. You can just use the std lib to loop, filter, reduce, conditionally render, etc. rather than looking up how to loop in this specific framework with v-if, v-for, etc. Angular 1 did that and it was limiting. Two-way data binding also failed. Templates are dead, long live JSX.

Vue doesn’t do two way data binding.

Are you more likely to use it knowing that?

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#52

Earlier quoted context omitted.

I'd rather just use JS syntax than learn a random v-* syntax. You can just use the std lib to loop, filter, reduce, conditionally render, etc. rather than looking up how to loop in this specific framework with v-if, v-for, etc. Angular 1 did that and it was limiting. Two-way data binding also failed. Templates are dead, long live JSX.

Vue doesn’t do two way data binding. Are you more likely to use it knowing that?

The data binding was a comment for React and against Angular and similar frameworks. The template syntax was a comment against Vue.

And no I'm not interested in Vue due to many reasons. I can expand if you're interested.

But why would you switch to copy cat frameworks when you have React and React Native?

My main point was for JS DSL and against proprietary template syntax, what are your thoughts on that specifically?

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#53
post #39

Earlier quoted context omitted.

Thanks for the kind words!

this update fixed all the drawbacks I experienced while building my webpage: www.hazn.deno.dev Fresh and deno are the embodiment of: ergonimic, performant, secure — pick three. thank you (and all the contributors) for your work :)

your webpage is down

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#54

I've been writing a simple single page form app the past few days and I like Fresh a lot. I really appreciate the simplified project layout vs my last setup of a react app project nestled in a parent express project. It just makes the devops, if you would even called it that, of writing a one-person full stack app easier. Deno running TypeScript without a compile to JS adds to this. I'm happy to see the Preact Signal…

How does it compare to using Next? Looking through the Fresh docs I don't see references to an ORM, mutations, etc. I'm probably missing or misunderstanding something.

Mutations: https://fresh.deno.dev/docs/getting-started/form-submissions

Not sure what you mean about an ORM. Next doesn’t have one either! These frameworks are agnostic about what happens inside your server-side GET and POST handlers — if you want to call an ORM-like library like Prisma from there, you can.

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#55

Earlier quoted context omitted.

Vue doesn’t do two way data binding. Are you more likely to use it knowing that?

The data binding was a comment for React and against Angular and similar frameworks. The template syntax was a comment against Vue. And no I'm not interested in Vue due to many reasons. I can expand if you're interested. But why would you switch to copy cat frameworks when you have React and React Native? My main point was for JS DSL and against proprietary template syntax, what are your thoughts on that specifically…

I don’t particularly care one way or the other. I like Vue because it offers flexibility and some opinions. If I want to write a jsx render function, I can do that. If I have a simple functional component for an icon or whatever, I can use the DSL and it’s statically compiled for the final build.

I don’t agree with your point about copy cat frameworks generally, as we’ve reached the point where all the major players are adapting each other’s ideas constantly. I think any of the modern JS frameworks are more than capable of handling any use case.

Re: Fresh 1.1 – Automatic JSX, plugins, DevTools, and more

#57

Fresh looks seriously cool! I'm especially fond of the plugins concept for bringing in compiled assets like Markdown and SCSS. And Getting started with a `deno run` command is very exciting for new-comers too! Shameless-self promotion: I've been working on a similar web framework built on Deno and Cloudflare Workers. It's called Keywork[1] and it's made for folks who would like to create web apps for the V8 runtime,…

> built on [...] Cloudflare Workers [...] without getting too attached to a single cloud provider

:)

Post reply on HN