This example does not work as expected: https://codepen.io/zaceno/pen/RgqOzL
It fails becasue the state is initialized as state: ['X', 'Y'], but then internally transformed into: {'0':'X, '1': 'Y'} (which does not have join, map or other array methods)
I believe this is a bug. Or it should be documented.
@zaceno Yes, you are right. Currently the only supported state types are object, string and number. We should write a proper essay on the state property and include this detail here.
Whoops! 馃槈
@zaceno Added it to #244.
Most helpful comment
@zaceno Yes, you are right. Currently the only supported state types are object, string and number. We should write a proper essay on the state property and include this detail here.