React Native with Next.js Backend

Viewed 6236

I am quite a newbie to react native. Is it possible to use a Next.js backend with a react native app? I know its possible to use react native with backends such as Node+Express, but I personally prefer where Next.js is heading with its new releases, and would like to use it for a web app too.

1 Answers

React is

a library for building UIs

Next by its website definition is

The React Framework for Production

so if you want to build a web application that runs on the browser you can use react or next, Next has added some nice features like server-side rendering and the ability to have js backend on the project too.

on the other hand, React-Native definition:

Create native apps for Android and iOS using React

and you can use React Native when you want to produce a native application.

so, here you decided to create a native application with React-Native. you should look at this concern separately from creating your backend server. Besides this native application you want to create a backend server, what do you need for that backend server and what do you expect from that server, when you specify some answers for these questions and a little search you can choose a good framework for building that web server.

Related