aykanfonseca / triton

A course-planning web application that streamlines the process to be more intuitive and fun.
https://aykanfonseca.github.io/triton/
MIT License
1 stars 0 forks source link

Bundle Size #49

Open aykanfonseca opened 5 years ago

aykanfonseca commented 5 years ago

Bundle size (according to the Webpack analyzer) is close to around 130kb with the bulk of the weight coming from ReactDOM & Firebase.

Possible solutions:

  1. Swap to Inferno. We barely use React from anything (Context & Memo) which are easily replaceable.
  2. Swap to a GraphQL backend / better infrastructure. Removes our dependency on firebase and allows us to swap out the DB with relative ease.
aykanfonseca commented 5 years ago
inferno vs react
aykanfonseca commented 5 years ago

Updates:

  1. Swap to Inferno. We barely used the latest React features (Context & Memo), so they are easily replaceable. [DONE] Issue #37