In the StyleSheet.create function this line causes a problem.
var stringVal = JSON.stringify(val);
It returns an empty object `{}' instead of the something that is related to the map.
The problem is the hash that represents the style is always the same. So if you try to create a new stylesheet (using the map option), you end up only updating the only stylesheet.
The Documentation says:
In the StyleSheet.create function this line causes a problem.
It returns an empty object `{}' instead of the something that is related to the map.
The problem is the hash that represents the style is always the same. So if you try to create a new stylesheet (using the map option), you end up only updating the only stylesheet.
Both styles.ordered and styles1.foo refer to the same style (the hash the string '{}' is always '3hmsj'.