That’s a breaking change in ReScript 11. The workaround is to use @as("open")
as you did, although if you have JSX v3 enabled, it might not work. Try upgrading to JSX v4.
↧
What's the correct way to bind a React component with reserved keywords as prop names?
↧