How to do the integration work for react-native and php? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to do the integration work for react-native and php?

I am working on a React Native and php project.

28th Apr 2021, 1:38 PM
Chany
Chany - avatar
1 Answer
+ 13
You can do it using REST API. Basically, your app should send a request using fetch API or some library (axios) to your PHP server. Then your server should answer with a response (JSON or whatever you need). Then your app processes the response and shows a user the information he requested.
29th Apr 2021, 11:24 AM
Igor Makarsky
Igor Makarsky - avatar