React Native + React (for web) seed project

前端 未结 6 1002
长发绾君心
长发绾君心 2020-12-28 17:34

Is it possible to setup a project which has code for both React Native(Mobile app) + React(web), having the code shred between platforms except for the UI part.

Have

6条回答
  •  有刺的猬
    2020-12-28 18:14

    You can give a try to React-Native-Web, but imho you should create 2 different projects, isolate and copy what can be used on both (like api requests and util functions). Your code will be easier to debug and maintain.

提交回复
热议问题