Prevent unneccessary re-renders

This commit is contained in:
Thomas Nordquist
2019-06-06 23:15:12 +02:00
parent 15a0c8a5c5
commit e728a721aa
5 changed files with 81 additions and 102 deletions

View File

@@ -53,4 +53,4 @@ export function toPlottableValue(value: any): number | undefined {
export function isPlottable(value: any) {
return !isNaN(toPlottableValue(value) as any)
}
}