Better HN
topnewbestaskshowjobs
Log inSign up

brunolemos

6 karma · joined Mar 30, 2016 (10y ago) · 10 submissions

Software Engineer
Submissions

comment 7y ago · link · parent

That's what I did as well, tried react-native-macos but that didn't work. I also have an Electron version using react-native-web, which works great.

Now, with Apple Catalyst, things got really interesting. Try it on your project and let me know how it goes, specially the performance. I haven't tried react-native-windows yet but that's on my radar. I don't think we have a high quality alternative for Linux.

comment 7y ago · link · parent

This is a react-native app that has nested scrolling and swipe gestures using react-native-gesture-handler. Both of this worked great when running on macOS, which is amazing.

What didn't work for me: - Development mode (only Release mode, because of the failing WebSocket module) - Firebase - Deep linking

Overall impression: - Amazing to be able to reuse the same code across iOS, Android, Web, macOS and Windows - 99% of the layout looks correct, noticed only one small part breaking - Some performance are great and some are worse than the iPad version, need to investigate - Bundle size: 9,1MB (compare this to the Electron version: 181,1MB)

Steps: - Upgrade your macOS to Catalina - Upgrade Xcode to v11.1+ - Upgrade your app to react-native 0.61.2+ - On Xcode, at the General tab, enable the "Mac" device target - Build - You will get some build errors. Go to the Pods project, search for the failing Target, tap Build Phases > Compile Sources and choose only "iOS" instead of "macOS + iOS" (temporary fix)

3.

Got my react-native app running on macOS via Apple's Project Catalyst(twitter.com ↗)

4 points · by brunolemos · 7y ago · 3 comments

comment 7y ago · link · parent

True, I really liked the landing page.

5.

How to share code between iOS Android and Web using react-native-web monorepo(dev.to ↗)

1 points · by brunolemos · 7y ago · discuss

comment 7y ago · link · parent

https://play.google.com/store/apps/details?id=com.devhubapp

comment 7y ago · link · parent

Thanks for the comment! Totally agree with you :)

comment 8y ago · link · parent

We added more changes on master, now it creates tsconfig automatically, checks if the required dependencies are installed and other nice ux improvements.

comment 9y ago · link · parent

YES U BROKE IT too many simultaneous connections. We are working to make it up again. Thanks.

comment 9y ago · link · parent

Thanks, fixed it!