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
Breaking: Removed the whole Elmish.JsCallback module. All use sites should convert to EffectFnN. #53
React props for FFI-imported components are now allowed to have a ref prop. This was a silly restriction. #51
Generated React component classes now have more descriptive names. This is to help with debugging and testing. #52
Breaking: Aff is now the default running monad. ComponentDef renamed to ComponentDef', Transition renamed to Transition'. Added ComponentDef as type alias for ComponentDef' Aff, Transition as type alias for Transition' Aff. #48
Added CanReceiveFromJavaScript (Object a) instance for any a and a specialized CanReceiveFromJavaScript (Array Foreign) instance as an optimization. #47
Breaking: readForeign' - a new function that's like readForeign, but returns error information on failure. The breaking part is that CanReceiveFromJavaScript class had to be modified to afford that. #45
Breaking: Dispatch vastly simplified, it's now basically just an msg -> Effect Unit function. Consequently, many functions that were supporting the complexity have been removed, including issueMsg, issueError, cmapMaybe, dispatchMsgFn, ignoreMsg. Operator aliases <| and <?| added for handle and handleMaybe respectively. #33
Bug fixes
Fixed a bug related to maintaining state in wrapWithLocalState. #50
Fixed a bug with CanReceiveFromJavaScript (Array Foreign) instance: it had a superfluous constraint.
readForeign for records no longer requires nullable fields to be present in the record. #45