Readit News logoReadit News
stragio commented on Show HN: One – A new React framework unifying web, native and local-first   onestack.dev... · Posted by u/nwienert
redbar0n · a year ago
Context:

Tamagui Takeout is a paid fullstack starter kit based on Tamagui (and Drizzle): https://tamagui.dev/takeout

They’ve started a rewrite of Takeout to One (Zero instead of Drizzle, etc.), and are grandfathering in all existing users (also those who start using it before the rewrite is released). More in thread:

https://x.com/tamagui_js/status/1841985327139098649

PS: I’m happy you found use of my blog post about the various tech strategies/choices when making a cross-platform app. :)

stragio · a year ago
That blog post was spot on in 2022! Cheers for that. Time for a re-write in 2025!

And thanks for adding the context on Takeout.

stragio commented on Show HN: One – A new React framework unifying web, native and local-first   onestack.dev... · Posted by u/nwienert
stragio · a year ago
Good to see this on HN, I’d love to share my journey with Takeout!

I first encountered Takeout about a year ago while experimenting with cross-platform development after reading this blog post: The Different Tech Strategies for Building a Cross-Platform App (https://magnemg.eu/the-different-tech-strategies-for-buildin...)

At work, we urgently needed an iOS app to enable push notifications for our logistics app, but our frontend was web-only and built with React/Next.js. Since the codebase was already several years old with many screens, we decided to port it to Capacitor, which led us to adopt a stack with Next.js and Capacitor (https://github.com/RobSchilderr/nextjs-native-starter).

However, once we began working with Capacitor, we ran into numerous issues. Dealing with the iOS keyboard and Safari WebView was almost impossible with famous scrolling issues, and Android’s Chrome WebView also suffered from poor performance (https://github.com/ionic-team/capacitor/discussions/3899).

This experience pushed me to switch to Expo with Solito and Tamagui, and the new stack has been a game changer. The support from Nate and the Tamagui team has been outstanding. Also Expo and EAS has been working flawlessly.

Now, with One, cross platform development is entering a new phase which address the final challenges of cross-platform development. Sharing code with Expo and Tamagui used to be manageable only for those familiar with cross-platform solutions, but now it’s becoming accessible to everyone. I bet it will be easier for new folks to understand how to work with Expo and Tamagui.

Combine that with local-first, and small teams will be able to build high-performance applications across three platforms using just one simple codebase quickly.

stragio commented on Apple’s next big thing: A business model change   mondaynote.com/apples-nex... · Posted by u/tosh
intrasight · 3 years ago
> The unacknowledged Apple Car (the “Titan” project), Augmented Reality (AR) devices, and forays into the healthcare market, none of which is a feasible candidate

So wrong. PDAs were replaced by smartphones. Smartphones will be replaced by AR glasses. It is the next big thing hardware-wise. Many new services will be built upon glasses and watches, and many will be health related. You'll still buy a phone - it'll have the battery and the supercomputer powering the other two. I doubt that it will even have a display.

stragio · 3 years ago
Agree to this. Aan Apple fan acquaintance of mine recently said he might put away his phone because he could achieve everything with his watch and earpods and wanted to increase his concentration. He said he'd do his WhatsApp with voice messages and also call like that. He was fine with no display.
stragio commented on Learnings from 5 years of tech startup code audits   kenkantzer.com/learnings-... · Posted by u/lordofmoria
7speter · 3 years ago
Its kind of discouraging to see the part where he says almost no one gets web tokens right the first time. Working on projects as someone entering the industry, its pretty clear that security is the most important part of a web app, and its so seemingly easy to get woefully wrong, especially if you’re learning this stuff on your own and trying to build working crud projects
stragio · 3 years ago
Why not look into an open source auth solution such as supertokens? It's almost free and you can self-host. That way you implement your own auth system but the security issues are mostly dealt by them.
stragio commented on Flutter is better than React Native in all the ways that don’t matter   shift.infinite.red/flutte... · Posted by u/tut-urut-utut
allisdust · 3 years ago
Same experience. If you are using ionic and using any hardware sensors including camera, be ready for a rewrite down the line. Also plugins (even commonly used ones) are full of bugs. The toolchain for builds and cross compilation is amateurish at best. Ohh and finally if all the things do work, be ready for getting surprised on how sluggish the application is going to be.
stragio · 3 years ago
Have you tried it with capacitor?
stragio commented on Flutter is better than React Native in all the ways that don’t matter   shift.infinite.red/flutte... · Posted by u/tut-urut-utut
flinkit-lars · 3 years ago
We are building our native app off from our web app, using Capacitor. One single codebase, 3 platforms targeted. Using very well established technologies that have a very good DX.
stragio · 3 years ago
Great to hear you're having a similar experience. It became extremely easy for web devs to release mobile apps now.
stragio commented on Flutter is better than React Native in all the ways that don’t matter   shift.infinite.red/flutte... · Posted by u/tut-urut-utut
stragio · 3 years ago
Once in a while the Flutter/RN discussion shows up on Hackernews and I'd like to remind you all that Capacitor community is also alive and kicking.

For the past months I've been building an E-commerce with Capacitor/NextJS and its been quite a pleasant experience. If you're familiar with JS/TS and React, it's a great option for an e-commerce or a b2b SAAS app.

If you don't need many native components or a super slick performance, Capacitor might be the cheapest and quickest solution for web developers.

stragio commented on SingleFile: Save a complete web page into a single HTML file   github.com/gildas-lormeau... · Posted by u/crbelaus
gildas · 3 years ago
Author here, it makes me really happy to see SIngleFile on the front page of HN. Thank you! I take the opportunity to make you aware of the upcoming impacts of the Manifest V3 [1], and for those who prefer zip files, I recommend you to have a look here [2].

[1] https://github.com/gildas-lormeau/SingleFile-Lite

[2] https://github.com/gildas-lormeau/SingleFileZ

stragio · 3 years ago
Very nice! Will use it for sure. May I ask you how you created that good looking demo gif?
stragio commented on All you should know about Flutter development   github.com/nepaul/awesome... · Posted by u/xsnepaul
slig · 4 years ago
Is there any Flutter-like alternative but using TypeScript? Dart feels too weird.
stragio · 4 years ago
Capacitor for sure. Check the top comment, it depends on your needs.
stragio commented on All you should know about Flutter development   github.com/nepaul/awesome... · Posted by u/xsnepaul
samwillis · 4 years ago
I think developers often want to find a “one true cross platform toolkit for all cases” and I don’t believe that will ever exist. It depends so much on both your app/market but also the skills and experience within your team. No 1 priority is move quickly.

Flutter is brilliant, and probably the way to go, for some apps. A great example of a successful Flutter app is the Sonos app, relatively simple and responsive ui talking to an api. No “rich” or user supplied content. Although they haven’t replaced their desktop app with the flutter app, my guess is that it is the plan.

I think Flutter is brilliant for that type of IOT app, banking/crypto/utilities also the sort that would work well. I don’t think it’s best placed if you want to start using WebViews for some content, when I was last looking at it a year ago there were serious problems.

If you are building a social media app, either Native or React Native (or a combination) is probably the best way to go. You are aiming high so need the best performance and ux.

If you are building a b2b SAAS app I would probably reach for something like Ionic/Capacitor. You can share almost all you codebase with your web/PWA/desktop (electron) apps and can achieve it all with a tiny team. If you need a little more native functionality then adding in NativeScript to a Capacitor works very well.

For an e-commerce app I would probably go Iconic/Capacitor too, the Amazon app for example is mostly webviews.

Productivity apps are much more difficult to recommend for as you probably need large native components.

stragio · 4 years ago
Agree! I have been building a React/Next capacitor application for a Dutch e-commerce with a colleague.

Up until now everything is fine for our purposes and performance is near native. Usually similar e-commerce apps require multiple teams, or at least 5+ employees, to release an app on web, Android and iOS. Due to the fact that we have just one single codebase, we can still manage it with the 2 of us.

I also recommend the Capacitor community on Discord in case you need help getting started.

u/stragio

KarmaCake day39November 29, 2020
About
www.twitter.com/realRobSchilder
View Original