Reproduction
In IE11, if you have a style attribute in your application, Preact throws an error.
This looks like a regression introduced in 10.4.8, as reverting to 10.4.7 yields happiness.
Steps to reproduce
- Create something with a style attribute
const App = () => (
<div style="display: block;">
Hello World!
</div>
)
- Open your app in IE11
- Check for errors
Expected Behavior
The application renders correctly, without any errors.
Actual Behavior
IE throws an error
Assignment to read-only properties is not allowed in strict mode
A workaround is to just use classes.
Reproduction
In IE11, if you have a style attribute in your application, Preact throws an error.
This looks like a regression introduced in 10.4.8, as reverting to 10.4.7 yields happiness.
Steps to reproduce
Expected Behavior
The application renders correctly, without any errors.
Actual Behavior
IE throws an error
A workaround is to just use classes.