I currently have a backend made in kotlin, consisting of a gradle submodule with data models. Is there any chance I can reuse those models in a react frontend component? How would it work in importing those modules, or would I have to copy them over?
To add more context, the frontend is currently made from create-react-kotlin-app, and api calls return objects