Atlassian Connect Express with REACT framework

Hello everyone, I am developing an ACE cloud addon in Node.js, and I don’t want to use a handlebars as a template view, instead I want to use REACT. The outputted REACT files are added to the public/ directory of the ACE template. When I try to call the route

app.get('/render/config', (req, res) => {
res.sendFile(path.join(__dirname, '/public/index.html'));
),

the content is rendering to the specified route on localhost, but not when is applied on the cloud instance -I get response failed to load response data). So my basic question is what am I missing in the configuration, or how can I combine actually the REACT app with the ACE?

You could simply use the default handlebar template to include the script, it works basically the same way.

I used a custom webpack configuration for this, can’t speak for create-react-app or anything else

Thank you for the response, can you tell me more details on this? Where is the default handlebar template?

You could fine them here under views for example