PikaCourse / homiehomie

3 stars 0 forks source link

[ToDo] `main.js` is enormous, need to reduce the size to aid serving over limited bandwidth #87

Closed William-An closed 3 years ago

William-An commented 3 years ago

What is this todo related to?

frontend

What is the todo?

Reduce size of main.js

Consider:

  1. https://medium.com/a-young-devoloper/analyzing-and-reducing-react-bundle-size-bb2d2577b22a
  2. https://medium.com/kaliop/react-js-reduce-your-javascript-bundle-with-code-splitting-f2d24abd42b8
  3. https://stackoverflow.com/questions/40093936/react-redux-bundle-js-is-too-big

How urgent is the todo?

As soon as possible

William-An commented 3 years ago

Somehow, the server and cloudflare configuration enable the page to be loaded in 2 seconds, no urgent need to reduce the main.js size now.