Akihiko Odaki
13cf92df27
Use React.PureComponent instead of React.Component ( #6653 )
7 years ago
Akihiko Odaki
7cb49eaa3a
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
kibigo!
e19fc6a9f8
Restore vanilla components
7 years ago
kibigo!
45c44989c8
Forking glitch theme
7 years ago
Sorin Davidoi
23e854cb91
fix(components/bundle): Exit early in load function ( #4349 )
7 years ago
unarist
caf938562e
Avoid async import if the component is previously loaded ( #4127 )
7 years ago
Nolan Lawson
63b77f2320
Avoid using getBoundingClientRect to calculate height ( #4001 )
7 years ago
Sorin Davidoi
348d6f5e75
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