v icon indicating copy to clipboard operation
v copied to clipboard

Reactjs style for building GUI app?

Open leedstyh opened this issue 7 years ago • 15 comments

Hi,

Any plan to support reactjs ( or Flutter ) style for building GUI app?

leedstyh avatar May 01 '19 02:05 leedstyh

Svelte https://svelte.dev would be much better than React.

ansarizafar avatar May 01 '19 02:05 ansarizafar

Yes, this would be nice.

A bit tricky to build this on top of native toolkit APIs.

medvednikov avatar May 01 '19 14:05 medvednikov

Please keep V away from JAVASCRIPT Madness. Focus on Native Platforms instead of flutter or react. I hope to see V Runing soon in Android and IOS.

hamad-almamari avatar May 12 '19 00:05 hamad-almamari

I'm not a fan of JavaScript myself :)

This has nothing to do with JavaScript. The question is about using a more modern style for the GUI library.

Native iOS/Android support is coming later this year.

medvednikov avatar May 12 '19 00:05 medvednikov

Would it be possible to develop a full stack progressive web app with V without using JavaScript like Blazor https://www.youtube.com/watch?v=y7LAbdoNBJA or new rust web frameworks?

ansarizafar avatar May 12 '19 04:05 ansarizafar

Would it be possible to develop a full stack progressive web app with V without using JavaScript like Blazor

Yes.

medvednikov avatar May 12 '19 04:05 medvednikov

Good to hear that. I am excited. A Svelte https://svelte.dev like full stack web framework in V would be a game changer.

ansarizafar avatar May 12 '19 04:05 ansarizafar

Yes, I'm excited as well. Time to free the world from JavaScript oppression :)

medvednikov avatar May 12 '19 04:05 medvednikov

Apple just released SwiftUI, looks interesting.

I like the declarative approach and will use it in V ui.

medvednikov avatar Jun 03 '19 23:06 medvednikov

Depends on the approach I'm seeing here. Svelte "compiles" to JavaScript, which the client runs. "Rust web frameworks" are server-side rendered, similar to PHP. Both are different and has different purposes. Personally I'd prefer the "Rust web frameworks" approach.

diamondburned avatar Jun 18 '19 17:06 diamondburned

Rust also has this https://github.com/DenisKolodin/yew Server side only framework can't be used for more responsive UIs rich user interactions, client side validation, animations, state management etc.

ansarizafar avatar Jun 18 '19 17:06 ansarizafar

If V compiles to wasm then its even easier to rid this world of javascript. yew compiles to wasm btw.

ghost avatar Jun 25 '19 06:06 ghost

I had suggested the same on slack.

ansarizafar avatar Jun 25 '19 06:06 ansarizafar

Anyways golang has a really good frontend framework called vecty which is a react like framework in golang. I think the first step would be get a framework like this setup after the wasm target is completed. It will help in exploring to build a common UI interface across all platforms. There is also ebiten which actually works on all platform. The same codebase. Anyone here want to take a shot at building the wasm target? I think it shouldn't be too difficult.

ghost avatar Jun 26 '19 04:06 ghost

A proper syntax has been selected for V UI. Closed

nedpals avatar Mar 04 '20 14:03 nedpals