114
submitted 1 year ago* (last edited 1 year ago) by dropdevrahul@lemmy.world to c/programming@programming.dev

Since I wanted to learn both Rust and ReactJS I decided to pick this, this is the progress in two days.

top 12 comments
sorted by: hot top controversial new old
[-] SomeOtherUsername@lemmynsfw.com 6 points 1 year ago

Cool! What do you want to add to it to distinguish itself from the browser version?

[-] dropdevrahul@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

I am mostly doing it for learning but for the app I am planning to use a layout with infinite scrolling like in mobile apps.

[-] SomeOtherUsername@lemmynsfw.com 10 points 1 year ago

If I had to suggest something:

  • Quick switching between accounts on different instances (a couple of clicks, instead of another website in another tab)
  • More configurable UI. Quickly switch between seeing/not seeing read posts, NSFW, NSFW blur
  • Combined communities list and/or wall between all your accounts, so that you see more
[-] russmatney@programming.dev 4 points 1 year ago

Nice work!

Tauri is great. I haven't built a proper app with the nice native backend features, but i wrote a wrapper for passing a url on the command line, which lets you run an arbitrary web app like it's a native one: https://github.com/russmatney/clove

Very happy to have something lightweight!

[-] Distributed@lemmy.ml 3 points 1 year ago* (last edited 1 year ago)

First time hearing of tauri, so thanks for sharing!

Couple Q's about Tauri:

  • How large does the binary compile to?

  • How snappy is it/how does it feel, compared to an electron app?

Github link to tauri for those interested: https://github.com/tauri-apps/tauri

[-] variouslegumes@reddthat.com 4 points 1 year ago

It's going to be a lot smaller since it doesn't bundle a version of chromium in every build. Instead it uses the systems native web view. This does pose the problem of vendor specific rendering issues.. How snappy it feels is down to how the front-end programmed. It can still be a mess of bloated JavaScript 🙂

[-] Distributed@lemmy.ml 2 points 1 year ago

Thanks! Gonna play around with it tonight/tomorrow!

[-] maegul@lemmy.ml 3 points 1 year ago

How are you finding Tauri? Been a project on my radar since I learnt of it.

[-] 23Ro@programming.dev 2 points 1 year ago

Chiming in here as well, I'm running tauri in production for a "desktop" version of our vuejs spa at a startup. The spa is rather complex business/logistics software. But in the end it hardly makes a difference what your spa does. The big pro is that you can write very system level code in rust that you can invoke from your js app. That's pretty neat if you do want to do stuff with native apis. Another massive reason for us to switch was the bundle size and memory imprint, it's a game changer for B2B customers with often lower spec hardware.

And the cherry on top is the potential mobile targets that are now in alpha...

[-] maegul@lemmy.ml 1 points 1 year ago

Ah right. So tauri has mobile app support in alpha? Nice, and promising too. Thanks for the info!!

[-] dropdevrahul@lemmy.world 2 points 1 year ago

It's good if you already know a frontend framework it works nicely, I have worked with similar framework in golang as well which is wails which seems better though.

[-] howarddo@programming.dev 3 points 1 year ago

nice progress, keep it up!

load more comments
view more: next ›
this post was submitted on 08 Jul 2023
114 points (99.1% liked)

Programming

17314 readers
105 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS