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 "box" function exposed by Feliz.Plotly clobbers the built-in F# box function in F#. One needs it in order to box dependencies when using Feliz when creating stateful components. Opening this library makes the code much easier to read..Perhaps there is an easy resolution?
Steps to reproduce
Open Feliz.Plotly
Try something like React.useEffect(loadData >> Async.StartImmediate, [| (box state.startDate) |])
Expected behavior
Opening a library should probably overwrite any core language functions.
The text was updated successfully, but these errors were encountered:
I managed to find the namespace and using the fully qualified name for box it works i.e. Microsoft.FSharp.Core.Operators.box but needless to say this doesn't feel less hacky.
Description
The "box" function exposed by Feliz.Plotly clobbers the built-in F# box function in F#. One needs it in order to box dependencies when using Feliz when creating stateful components. Opening this library makes the code much easier to read..Perhaps there is an easy resolution?
Steps to reproduce
React.useEffect(loadData >> Async.StartImmediate, [| (box state.startDate) |])
Expected behavior
Opening a library should probably overwrite any core language functions.
The text was updated successfully, but these errors were encountered: