The correct way to pass array to shader?

I am passing arr:Vec4[] to setProperty, in shader it is stored as vec4 array, but sometimes the browser complained that my uniform might need to be rewrite to have better performance. Any reference or example how to do it correctly? I am using 3.6.3