r/reactjs•
adrianabreu

Integrating existing Typescript project with React

Hello everybody, please excuse me if I write something that sounds awkward, I will try my best. I developed a project in typescript containing a lot of logic, and I realized that I needed a library for handling the interaction between model and view. After doing a lot of research I chose React (how to not fall in love with this wonderful comunity?) but I donot see how to integrate in my project.

I used this project as basis for the typescript logic: https://github.com/bitjson/typescript-starter and added webpack to it. Now I don't know what would be the best way to proceed:

a) To look for a project with TSX and integrate my code into it b) To generate a react-create-app and mix it into this project c) Ignore it, generate this code and paste it into the react project. (Hope to have to not take this).

Have anyone done something similar to it before? Thank you in advance.

Posted Apr 26, 2017, 5:50 PM UTC

56
Loading comments…