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
Native: keep labeled-arg make, use old-style JSX calls
On native, don't generate the makeProps/wrapper pattern for
[@react.component]. Keep make with its original labeled-arg signature
for backward compatibility with .rei files, .ml call sites, and
first-class modules. Native JSX now generates old-style labeled-arg
calls (Component.make ~prop1:v1 ~children:... ()) instead of
Component.make(Component.makeProps(~prop1:v1, ...)).
Copy file name to clipboardExpand all lines: tasks/plan-08-action-formdata-protocol-progressive-ench.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,11 +111,9 @@ React's client-side `encodeFormAction` callback converts a server reference into
111
111
-[ ] Replace the `useActionState` stub in `packages/react/src/React.ml:878` with a real implementation that works with the form state protocol.
112
112
-[ ] This enables progressive enhancement for stateful form actions (showing optimistic updates, handling errors).
113
113
114
-
### Phase 6: Bound server references (optional, future)
114
+
### Phase 6: Bound server references → moved to plan-12
115
115
116
-
-[ ] Support `$ACTION_REF_` for bound server references (server functions with pre-filled arguments via `.bind()`).
117
-
-[ ] This requires changes to `Runtime.server_function` to carry a `bound` field and to the PPX to support partial application of server functions.
118
-
-[ ] The `action_to_json` function in `ReactServerDOM.ml:198` currently always emits `"bound": null`; this would need to emit the bound arguments when present.
116
+
Moved to `tasks/plan-12-bound-server-references.md`. Includes `$ACTION_REF_` support, `encode_bound` on `Runtime.server_function`, and PPX changes for partial application.
0 commit comments