Swift and React Native (and Similar Libraries/Frameworks) Survey
I'd appreciate your answers and any possible discussion for a few (or all if possible) of these questions (or send me a private message if you'd like the answers to be private):
1. What's your opinion in general of React and React Native?
2. Have you heard of Elm and unidirectional data flow architectures? Have you previously used any of the libraries implementing that (including React)? How was it?
3. Do you currently use (or previously used) any of the similar libraries for Swift? For example, ReSwift, Katana, Render, any other? How was your experience?
4. Do you think that in the future any of the Apple's frameworks should support a similar architecture to React or any of these similar libraries? (staying compatible with and written in pure Swift of course)
5. Do you (or the company you work for) use React and/or React Native for any of the currently developed apps?
6. Would you consider using React and/or React Native for your next project? Would your answer change if the main requirement for the project is to be cross-platform and to share as much code as possible across supported platforms?
7. If the answer for the previous question is "yes", what's the biggest "killer feature" do you see in React? The architecture, the cross-platform support, ability to do "hot reload" of the app's code during development/production, anything else?
8. Have you heard of React Hooks? Have you used them already? What's your opinion of React's current transition from class-based components to Hooks?
Thanks!
1 comment
[ 3.2 ms ] story [ 14.6 ms ] thread2. Heard of Elm and unidirectional data flow (flux, redux...). Didn't use Elm, but did use redux and flux. It makes it easier to discover what is going on in the code which means faster bug fixes, faster features...
3. No, I did not
4. I don't care as I never plan to be Swift developer
5. We do, for primary web and mobile app (~15 frontend/mobile engineers)
6. If the main requirement is to be cross-platform and share the code I would go exactly for this stack React
7. Not so much about react, but Redux part of the codebase can be entirely shared if written correctly, all you have to do is write views for different platforms (mobile/web)
8. I heard of hooks, spend some time to understand, and I am OK with it but won't be pushing it in our company as I am not entirely convinced. I liked class based components having things explicit and not too much magic. Hooks felt like they were hyped by todo list warriors on the first day it was announced. Let's see how it turns out in bigger projects