You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The point is that the style property is not in the props array because of destructuring in the createElement parameters.
As the style parameter is no more used in the current implementation, it should be left in the properties array. It will be correctly handled by the setAttribute function.
The text was updated successfully, but these errors were encountered:
The style property is no more added to the resulting HTML elements.
Previously, the style property was handled differently:
van/addons/van_jsx/src/jsx-runtime.js
Lines 36 to 39 in 2c6536e
But now, it should be handled like the other properties:
van/addons/van_jsx/src/createElement.js
Lines 3 to 7 in 223c979
van/addons/van_jsx/src/hyper.js
Lines 11 to 16 in 223c979
The point is that the style property is not in the props array because of destructuring in the createElement parameters.
As the style parameter is no more used in the current implementation, it should be left in the properties array. It will be correctly handled by the setAttribute function.
The text was updated successfully, but these errors were encountered: