Skip to content

MomentJS optimisations

Remco de Man requested to merge fbl_momentjs_optimisations into dev

This branch contains optimisations specific to MomentJS and the components that use MomentJS. It includes:

  • A smaller build size by not including all locales: We need no locales because we only parse into numeric dates, no string literals.
  • A new DateTime component that is completely stateless and validates using ESLint (this fixes #19 (closed) for DateTime related matters)
  • Makes sure the Quiz Run Modal does not do the DateTime parsing itself but lets the stateless DateTime component handle this.

Merge request reports

Loading