Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GTHell's avatar

How to use react without compile all the time?

Change 1 code and compile is tedious. What if I move React to the public folder? If it possible then what did I need to include for make it to work.

0 likes
1 reply
Yamen's avatar

No way, you need to compile whenever you update your code. Consider a command like npm run watch

Please or to participate in this conversation.