4 ms·
A monthly release cadence for React Native
- colinramsay 10y agoRN is great but it disturbs me that this bug: https://github.com/facebook/react-native/issues/4968 https://github.com/facebook/react-native/issues/4968 Which is severe but has been open for so long just hasn't had any attention from the core team. It's clearly a massive problem and the packager code is... less than friendly.
- dean177 10y agoIts something which has a simple workaround, has no runtime impact and affects a minority(?) of developers using RN. While it may be frustrating if this is affecting you, its certainly not a severe issue. I have been part of development teams for two react-native apps, and nobody on either team has encountered this issue yet (with developers working on a a combination of OSX & Windows 10)
- evv 10y agoI came across this issue last week and alerted the internal packager team about it. We'll get it resolved- even if the issue is avoidable, we can help people avoid it with better tooling, errors, and documentation.
- mewwts 10y agoReact Native is great. Hands down, so cool to be able to go from developing websites to native apps. I also appreciate reading the release notes and seeing new features and fixes being released so frequently. I do however experience real issues when upgrading. We tried going from 0.38 to 0.39, but getting the xcode project files to merge correctly has proved difficult for us, a couple of newbies. The new react-native-git-upgrade makes it easier to see the conflicts, but it is still hard for us to make it work. Does HN have any wisdom to share?
- k__ 10y agoDid the transition from React to React Native get easier on Android? Last time I checkes, there was still rather much mobile know-how needed :/
- dean177 10y agoAbsolutely, if you already know react and are targeting Android only, picking up react-native will require minimal android knowledge, and the docs are great are walking you through the setup bits you need to get developing on-device.
- oakesm9 10y agoThat's partly true, however as someone who uses React Native with multiple production apps, having "real" native experience is invaluable when using React Native. To create a good RN app you need to know how the system works and be comfortable jumping to the native side when needed. If you don't you're bound to create a sub-par app by trying to make everything fit into the web side which is all you know. It is possible to create an app without native experience, but it is still needed to create a very good app.
- sandGorgon 10y agowe have been struggling with the idea if whether to start using react native in our current production android app. what is a good balance between RN vs pure native? what works and what doesn't? what about other considerations like power consumption..file size, etc?
- hafor 10y agoIn terms of how much React/JavaScript code you should expect to write vs. how much Native code for a production app, it obviously depends a lot on the app but maybe 80/20 might be a reasonable (if totally arbitrary) expectation. Here's a good high-level talk which touches on the balance somewhat: https://www.youtube.com/watch?v=abSNo2P9mMM https://www.youtube.com/watch?v=abSNo2P9mMM. You should only expect to write pure native code when you hit a performance barrier with some particular custom component you're creating and there isn't an existing JS api or a standard/3rd party component which does everything you need already. But when you do hit this barrier, wiring up your own natively implemented module is pretty straightforward.
- pps 10y agoHi guys, do you know if it is possible to create home screen widgets with React Native? I don't see any info about it in docs. I'm thinking about something complex, like calendar or HabitHub widgets https://play.google.com/store/apps/details?id=com.rstudioz.habits https://play.google.com/store/apps/details?id=com.rstudioz.h...
- evv 10y agoThis isn't supported yet, but if you care about it, you can upvote the feature request on product pains: https://productpains.com/post/react-native/android-home-screen-widget https://productpains.com/post/react-native/android-home-scre... This will help the core team know what should be prioritized!
- pps 10y agoThank you!
- swah 10y agoI'm trying RN now and I must say that for an outsider its very underwhelming, because one might expect more stuff to just work out of the box (surprises the last few minutes: back button not always handled, material design is a plugin, authentication doesn't have an example, etc).
- raspasov 10y agoI disagree. From 0 to production, it took me 1 month. I had never done a mobile app before. Granted, I did have React experience on the web - that certainly helps. I agree that the documentation can be better. My advice is - either contribute, or read the code. You'd be surprised how well commented and documented the code itself is. Handling things like authentication would be falling into the trap of doing too much. A UI library/framework is an orthogonal concept to handling user registration or authentication. Material design? Let's say I don't like material design - then it'll be just extra baggage.
- swah 10y agoThanks for the heads up - I'll continue investigating. I'm thinking about my fav. Android apps (No iPhone since 3gs here) and really, some are material (say Recurrence, Gmail) and most are not (Waze, Pocketcasts..).
- orta 10y agoThis is great, I work on a pretty big React Native app ( http://artsy.github.io/series/react-native-at-artsy/ http://artsy.github.io/series/react-native-at-artsy/ ) and keeping up to date with the latest version of React Native has been pretty tough when competing with product-based work items. We're still on 0.34 ( https://github.com/artsy/emission/blob/master/yarn.lock#L4849 https://github.com/artsy/emission/blob/master/yarn.lock#L484... ) now I feel guilty. Glad to see the project start to stabilize.
- throwaway91111 10y agoAny plans to extend beyond mobile? I'm skittish to commit to a framework before it gets desktop support.
- evv 10y agoFacebook is primarily focused on making React Native work great on iOS and Android. But the community is absolutely moving towards full cross-platform support. Windows is already supported, and there are promising experiments to run RN on Ubuntu, macOS, and web.