Porting React application to JS view

Hello all,

I am trying to port an existing React JS application to a JS view. The application returns no data and I would need to connect the init method to initialise the UI. This is my problem. I do not know how create the UI from the JS view. Should I invoke the App.jsx from the JS view?

Fortunately the React app builds a JS bundle and a CSS that I would add as dependencies of the view so it should not be hard to include it. In case it helps I uploaded an example app at https://github.com/miguelalba/react_crash_todo.

Thanks,
Miguel

Hi Miguel,

this other thread discusses how to use a custom library in the General JS View: Adding new JavaScript libraries to new JavaScript node

Best,
Mischa

1 Like