Replies: 2 comments
-
i'm facing the same issue |
Beta Was this translation helpful? Give feedback.
-
You are not following quick development guide After you recompiled the app and it's working fine on your env. URL Generated by LHC is heavily cached by browser CDN and so on. Because URL remains the same.
After your changes you can increase those two numbers. So on production after clearing cache new URL will be generated for React application. If your app is not in production it does not matter because all browserse will download new version of a file in any case. But if you are doing updates and want them to be presented as soon you have to do this. E.g have your own fork.
Here is sample commit where I do those things - 223536b If you do not want to modify original files you can listen for custom event in your extension and modify there. See any extension how they listen for events.
Also it's advised after you recompile just in case run. If you have some extension activated run this command. It will generate static CSS and JS files and then you can use multiple http instances as JS and CSS files requested always will be the same.
Pull request for improved documentation is always welcome :) |
Beta Was this translation helpful? Give feedback.
-
I have done some changes in design/defaulttheme/widget/react-app/ and i installed some packages too. its working fine on locally but when i want to deploy it to to server i am unable to reflect changes . I am stuck need help
Beta Was this translation helpful? Give feedback.
All reactions