Should I create my ReactNative App with Redux? - react-native

I starting to learn ReactNative to develop Android and iOS Applications. Before that I programming Mobile-Applications with Java and Swift.
The last weeks I search a lot in the web to get experience from other developer that use ReactNative or other "Cross-Platform-Frameworks". Early I hear about Redux and that many developer use it.
I programming some examples in Redux to understand the concept, I have understood something but not quite everything.
So I come to my main question, is it better to programming a ReactNative App for both platforms with Redux ? What are the pros and cons ? And it is better for a beginner to start with ReactNative without Redux ?
Hopefully anyone can answer my question and share his experience, so I understand Redux better.

I'd say first get a good understanding of how React works and read about React best practices because thats what React Native uses to compose hierarchy of native views in React native app.
For a simple app you don't have to use Redux.You can always add it later.
https://blog.tighten.co/you-might-not-need-redux

Related

ionic/cordova vs react native in 2020

I'm sure that such a question already asked, but important thing that now mobile phones more powerful than 5-6 years ago. I just remember how hybrid mobile apps was slow especially with animations, transitions between screens, delay on touch. Today in our company we developing mobile app with ionic (twitter-like app for organization internals) and it works really smooth and fast. I've also developed the same app with same screens on react native and actually don't feel difference.
I understand that by definition react native should perform better because it's "more native". But is it still exists significant reason to write app in react native or ionic/cordova is completely enough to feel "native" in application?
I prefer to write code with react, but ionic now supports react as well.
This is a very great question.
Firstly, the "mainstream" advantages for React Native over Ionic is:
Performance [60 fps on animations];
Native look n feel;
Smooth Native Navigation;
Native modules
And Ionic over React Native:
PWA in mind;
Share full web codebase;
One team for two platforms;
But, i understand your doubt.
"Still exists significant reason to write app in react native or
ionic/cordova is completely enough to feel "native" in application?"
If your app need fluid animations or high CPU or GPU usage, you may have issues with Ionic or other webview-based framework.
However, if your app don't need so much processing, Ionic may the best choice here, and so less complex to build.

How to create a real life-like 3D avatar with react-native?

This question can sound a bit off-topic or more of tech capacity or capability. Let's say I am pretty new to this whole thing. I recently came across with https://avatarsdk.com and http://tada-time.com and really got curious how they are doing it. Let's say I want to use a real life-like 3D avatar in a react native app, any ideas where to start with? How do I create an avatar in React Native app?
I am well aware of there are API we can pay and use it.
Any help would be appreciated.
I guess what your requirement is to create 3D objects for Augmented reality, if I am correct. Currently Apple and Android provides their own framework for that. IOS's AR kit and android's AR Core is a bit different in terms of code structure(I mean how they approach problems, their functionality etc). I'll consider them a bit advance topic better done on native platforms. Answering your question, I haven't come across any such library in react native and I don't think we'll see any soon as react native is still maturing and still has a lot to do to become stable.
I've seen projects in react native having AR elements, but that was done entirely in native and bridged to react native (hybrid)

Implementing React native maps with redux

Can anyone recommend me some articles / docs or (better yet) tutorials on a comprehensive implementation of Redux with React-Native-Maps? I am currrently working on a project that would requires such.
I want to have the global state of the user location and destination.
Also, I want to be able to multiple map render, with different destinations.
I assume I should be able to achieve this with redux, however my knowledge of redux is quite basic, like the todo app example.
Kindly advice otherwise or share your thoughts.
I think its best if you start with getting a practical understanding of Redux, the TODO app will not take you far. start with this
Once you are comfortable with Redux, this is a repo that integrates react native maps, (camera as a bonus) and react Redux application.
Hope this Helps!

Is there a React Native framework for basic CRUD tasks?

I'm looking for a framework/tool which allows me to create a React Native app quickly. My porpouse is to map a data source (usually we work with oData source) and then the framework should be able to create a basic UI which allows me to perform basic CRUD tasks.
If you are familiar with DevExpress XAF you know what I'm talking about more specifically.
Can anyone help me?
What I'm loolking for is not a IDE or similar that help with React Native development, but any suggestion is accepted.
Thank you in advance.
The whole point of React Native is to give developers the flexibility to build native apps with the absolute basic components. As far as I am aware there is no such tool. The closest you have is React Native Expo. Invest some time and try to understand what React Native is and how it works and what was the idea behind it in the first place.

What actions you have taken after you hear about React Native Architecture Changing and Airbnb, Udacity abandon it?

This is not a technical question.
It just this is my first programming language which I am fluent and I don't want to abandon it. But I feel frustrated, I need to know about this framework, but should I learn something that will change in just a couple more weeks.
News:
https://adtmag.com/articles/2018/07/10/abandon-react-native.aspx
https://www.theregister.co.uk/2018/07/26/node_native_developers/
Few things from my perspective: Airbnb was supporting React Native since 2016, and recently they announced sunsetting React Native and reinvesting all of their efforts back into native because they weren’t able to achieve their specific goals. The reason why AirBnB is moving away from React Native is very specific to Airbnb. They already have a huge number of IOS & Android Developers and feel their application needs are pretty unconventional. They end up developing for 3 platforms instead of 2. Which means their entire application is not in React Native, only a few features are in React Native.
Read these articles: https://medium.com/braus-blog/airbnb-is-dropping-react-js-should-you-too-dcbff36def5c and Here goes what worked well and what didn’t : https://medium.com/airbnb-engineering/react-native-at-airbnb-the-technology-dafd0b43838 . And one head's up from the RN team after the .56 version release is "
We're working on a large-scale rearchitecture of React Native to make
the framework more flexible and integrate better with native
infrastructure in hybrid JavaScript/native apps. With this project,
we'll apply what we've learned over the last 5 years and incrementally
bring our architecture to a more modern one. We're rewriting many of
React Native's internals, but most of the changes are under the hood:
existing React Native apps will continue to work with few or no
changes."
Facebook has not stopped supporting React, and there are still a lot of contributors supporting and using React Native in the community. Moving away from technology depends on what are the other alternatives you have.