Questions tagged [react-native]
React Native is an SDK for mobile applications that lets you build mobile apps using only JavaScript. It uses the same design as React (for Web), letting you compose a rich mobile UI from declarative components.
14 questions
1vote
0answers
81views
Deciding between two design alternatives for displaying series of screens in mobile applications?
I am developing a mobile application, and one of the features is a "story" that is essentially a series of screens. The screens can be of three main templates: A "video" template ...
0votes
0answers
76views
How to straightforwardly implement selective A/B testing in a React Native app?
I have a React Native app with several thousand users. I want to make small changes to the app, but in a way that will touch a lot of files. I want a specified list of users to see the new changes. At ...
0votes
0answers
107views
Effective cache solution to have the newest data in React Native
Goal We have an app with different articles. I want to cache an article when the user has read it, but make sure that I display the latest data. I came up with this hook: React.useEffect(() => { ...
0votes
0answers
484views
How do I migrate Core Data data to a React Native application?
I have an iOS application that uses the Core Data framework. I'm migrating the application from Objective-C/Swift to TypeScript + React Native. My Core Data configuration uses SQLite as a backend. The ...
0votes
1answer
262views
Where should I put/handle periodic data updates in React?
I'm following the guide in https://reactjs.org/docs/thinking-in-react.html which makes sense for data that I request and update on a filter. However, I want to have some sort of general ...
-3votes
1answer
138views
Sharing React Native Component as a "black box"
I'm looking for a way to share a React Native component with 3rd parties without having to share the actual source code. Something like a .jar in Java or a .dll for C#. So assuming we have company A ...
1vote
1answer
847views
Is it helpful to create UML diagrams when developing a mobile app alone?
I'm thinking of developing my first mobile app and now that I have chosen the language(react native), created the wireframes and done almost all the preliminary work, I'm about to start the actual ...
0votes
1answer
166views
Need help with React Shape building app architecture
I am trying to figure out how to build most scalable and maintainable architecture for my app. The app is just about choosing some shape and then editing it. More precisely, choosing some existing ...
0votes
1answer
73views
OAuth2 not implicit flow, POST username and password
I am a mobile dev, now for a project need to authenticate with a backend service using identityserver4 and OAuth2. The project has things set up so it is using OIDC for authentication. BUT It is on a &...
2votes
1answer
1kviews
Render constant props components from an object or by hand?
Lets say I have a component that render some "static" information and another one that is the parent of these components. function Foo(){ ... return ( <Bar name="I" {......
0votes
1answer
190views
Correctly store device info with Redux in React Native app
I'm currently building a React Native application and wondering if storing device information such: if my app has granted location permission location service is turned on last known user location in ...
6votes
1answer
2kviews
React Native vs. "Real" native
I am working for the consumer oriented company which has mobile app as main product. Our mobile app has 100K monthly active users and is developed using Cordova + Kendo Mobile + Telerik Appbuilder (...
0votes
1answer
8kviews
Best Practice for handling data sync with React Native, MobX and REST?
We're developing an app using React Native and MobX for the state stores, and also using a Web API REST service for the GETs and POSTs. All is going well, so far we're able to use FETCH to get the ...
0votes
0answers
122views
Mobile development and infinite List pattern
I m currently working on a React Native application which aims to provide à huge list of items, using infinite scroll and a local state (no matter the technology / plaform, it's stored in RAM) of the ...