Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render(state: IPerceivedElementLayoutState) {
switch (state.action) {
case Action.Insert:
this.insert(state);
break;
case Action.Update:
this.update(state);
break;
case Action.Remove:
this.remove(state);
break;
case Action.Move:
this.move(state);
break;
}
}
}