We want to develop a web and app for our project we want that build the app and web both in react technology.
If we develop the website and mobile app in react then the backend will be the same for both?
Yes backend in any technology will work for both app and website built in react.
Related
can I use React Native Paper package for the normal reactjs web application?
They have some information about it in their docs?
https://callstack.github.io/react-native-paper/using-on-the-web.html.
I am learning React JS from YouTube , and the instructor some time uses a word "React App" ,
I am confused that why he uses this word in the tutorial of website .
Please clarify it .
Thank you
There is a React and there is a React Native. They are two different things. React is an open-source, front end, JavaScript library for building user interfaces or UI(User Interface) components. That simply means React is for building front-end of websites/web apps. React Native is a JavaScript framework for writing real, natively rendering mobile applications for iOS and Android. That means React Native is for building mobile apps. React Native is based on React
I am using react native web to develop my web application.
I want to create code-split for my web application.
From my research on the web, I found that react web application has some code-split methods, which is shown in https://reactjs.org/docs/code-splitting.html
Does react native web supports these code-split techniques: import(), react.lazy, and other techniques shown in the code-splitting.html?
Don't know whether it is currently supported.
Do anyone know any library or SDK to integrate Amazon-Pay with mobile app using React Native?
I have tried this following example from medium but I think it is for ReactJS only.
https://medium.com/#avremelk/amazonpay-react-js-f2c84931f82b
What is a good approach for making a React web and a React Native app that share their APIs for consuming the same database?
The system will have some CRUD screens for managing products and their images as well diferent events that the user will save.
I will follow the component / container pattern with Redux to be able to reuse code.
I am working in Windows SO.
I was thinking in:
NodeJs (APIs) and Heroku server
MongoDB
React (web app)
React Native (mobile app)
Are there some common archetypal model when using React and React Native consuming the same apis and DB?
I know I'm going to get flamed for this one....Even though it's not persistant to what you asked. I started a new project where we are using Firebase as our cloud backend and it works seamlessly between the web, ios, and android versions (building in react native).
But in regards to your question, react and react-native work well together, You can setup your redux actions (in react-native) almost identical to your react web app. The only differences between how you want to query your backend and handle auth (native uses asyncStorage vs localstorage/cookies). React native has a built in Fetch vs any other React package like Axios or SuperAgent.