* refactor(components/status_list): Lazy load using IntersectionObserver * refactor(components/status_list): Avoid setState bottleneck * refactor(components/status_list): Update state correctly * fix(components/status): Render if isIntersecting is undefined * refactor(components/status): Recycle timeout * refactor(components/status): Reduce animation duration * refactor(components/status): Use requestIdleCallback * chore: Split polyfill bundles * refactor(components/status_list): Increase rootMargin to 300% * fix(components/status): Check if onRef is not defined * chore: Add note about polyfill bundle splitting * fix(components/status): Reduce animation duration to 0.3 seconds
		
			
				
	
	
		
			19 lines
		
	
	
		
			342 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			342 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import 'intl';
 | 
						|
import 'intl/locale-data/jsonp/en.js';
 | 
						|
import 'es6-symbol/implement';
 | 
						|
import includes from 'array-includes';
 | 
						|
import assign from 'object-assign';
 | 
						|
import isNaN from 'is-nan';
 | 
						|
 | 
						|
if (!Array.prototype.includes) {
 | 
						|
  includes.shim();
 | 
						|
}
 | 
						|
 | 
						|
if (!Object.assign) {
 | 
						|
  Object.assign = assign;
 | 
						|
}
 | 
						|
 | 
						|
if (!Number.isNaN) {
 | 
						|
  Number.isNaN = isNaN;
 | 
						|
}
 |