For now we try to resolve all arrays, and make combinations into arrays to combine shorthands and className attribute.
The idea is to remove own judgement of how people want to use class attribute. Now we make it more consistent: if we pass array or object — we get array or object. More examples:
For now we try to resolve all arrays, and make combinations into arrays to combine shorthands and
className
attribute.The idea is to remove own judgement of how people want to use
class
attribute. Now we make it more consistent: if we pass array or object — we get array or object. More examples:It becomes more interesting when it mixes with shorthands: