Closed gpproton closed 11 months ago
We would need a better description and trade-off comparison before we can consider such a drastic changes.
It also seems like you have multiple changes that could be done separate. Those need to be broken down into different pull requests.
Ok i will seperate Vite, typescript, alias and legacy browser support changes into different pull request.
On the reasons for the changes, below are some of the reasons.
I'm sure there will be other benefit in future, due to using vite and typescript. I personally wanted this for myself but the changes can be beneficial for all so i refer to submit a pull request.
OK, but I would recommend discussing every change separately before actually making the change. For example, I'm not sure that we want to move to typescript. It's unclear how Vite helps with supporting older browsers. etc
On the issue of trade off, there's no noticeable tradeoff at least from my perspective as there's no additional feature only build changes and error can be fixed.
That's not really a serious attitude to a fair comparison. For example, I read that there are some known issues in Vite that have not been fixed for years.
OK, but I would recommend discussing every change separately before actually making the change. For example, I'm not sure that we want to move to typescript. It's unclear how Vite helps with supporting older browsers. etc
Sure after breaking down the pull request better discussion can proceed.
That's not really a serious attitude to a fair comparison. For example, I read that there are some known issues in Vite that have not been fixed for years.
I am not sure about this point, but i can look more into the potential issues if there any doubt from your end before moving forward with this.
Perfect, thanks.
Recently i noticed Traccar SPA stopped working for some older browsers after extended testing i decided to take the opportunity to introduce typescript compatibility, better legacy browser support and bundle size improvements. While i'm not sure how much of these changes are desired for traccar, i would like to commit these changes upstream.
Improvements in bundle size
react-scripts
vite reactjs
vite reactjs - legacy with modern polifills