Akihiko Odaki
8874e30dda
Use React.PureComponent instead of React.Component ( #6653 )
7 years ago
Akihiko Odaki
2187a87f3a
Do not use function name to track components ( #6542 )
...
UglifyJS2 is allowed to mangle function names, and function names can also
be duplicate if they are from different scopes. Therefore function names
are not reliable as identifiers.
Functions as keys for Map object is a cheaper and more reliable
alternative.
7 years ago
Sorin Davidoi
94ac88ec7f
fix(components/bundle): Exit early in load function ( #4349 )
7 years ago
unarist
05833fc24a
Avoid async import if the component is previously loaded ( #4127 )
7 years ago
Nolan Lawson
01ee91b725
Avoid using getBoundingClientRect to calculate height ( #4001 )
7 years ago
Sorin Davidoi
40b32ffb12
Lazy load components ( #3879 )
...
* feat: Lazy-load routes
* feat: Lazy-load modals
* feat: Lazy-load columns
* refactor: Simplify Bundle API
* feat: Optimize bundles
* feat: Prevent flashing the waiting state
* feat: Preload commonly used bundles
* feat: Lazy load Compose reducers
* feat: Lazy load Notifications reducer
* refactor: Move all dynamic imports into one file
* fix: Minor bugs
* fix: Manually hydrate the lazy-loaded reducers
* refactor: Move all dynamic imports to async-components
* fix: Loading modal style
* refactor: Avoid converting the raw state for each lazy hydration
* refactor: Remove unused component
* refactor: Maintain modal name
* fix: Add as=script to preload link
* chore: Fix lint error
* fix(components/bundle): Check if timestamp is set when computing elapsed
* fix: Load compose reducers for the onboarding modal
7 years ago