001package react4j.internal; 002 003import javax.annotation.Nonnull; 004import jsinterop.annotations.JsPackage; 005import jsinterop.annotations.JsType; 006import jsinterop.base.JsPropertyMap; 007 008/** 009 * Native support infrastructure for shouldComponentUpdate react lifecycle. 010 */ 011@JsType( isNative = true, namespace = JsPackage.GLOBAL, name = "?" ) 012public interface OnShouldComponentUpdate 013{ 014 boolean shouldComponentUpdate( @Nonnull JsPropertyMap<Object> nextProps ); 015}