Description
Implement promise caching functionality and improve promise error handling.
Context
There's commented-out code showing promise caching implementation for Js.Promise.t types. The implementation would cache promises to avoid re-executing them. Additionally, there are references to issue #251 regarding promise failure handling.
Files
packages/server-reason-react-ppx/server_reason_react_ppx.ml:545
packages/reactDom/src/ReactServerDOM.ml:381
packages/reactDom/test/test_RSC_model.ml:967
Acceptance Criteria
Related to #314
Description
Implement promise caching functionality and improve promise error handling.
Context
There's commented-out code showing promise caching implementation for
Js.Promise.ttypes. The implementation would cache promises to avoid re-executing them. Additionally, there are references to issue #251 regarding promise failure handling.Files
packages/server-reason-react-ppx/server_reason_react_ppx.ml:545packages/reactDom/src/ReactServerDOM.ml:381packages/reactDom/test/test_RSC_model.ml:967Acceptance Criteria
Related to #314