Hi Baoyuan,

Thank you for the detailed review and the positive feedback on the PoC! I’m
glad to hear that the custom adapter approach using useWatch aligns with
the project's architectural goals. I fully agree with the roadmap you
outlined to bridge the gap between this prototype and a production-ready
solution. Based on your suggestions, I will prioritize these next steps:

Array Support: I will implement support for type: "array" fields, likely
utilizing useFieldArray to handle dynamic lists (e.g., string arrays or
object arrays) seamlessly within the existing form structure.

Real-World Validation (proxy-rewrite): I will test the implementation
against the schema for the proxy-rewrite plugin. This will be a great
stress test for nested properties and conditional logic.

Validation Strategy: I plan to integrate ajv to handle the schema-based
validation rules. The goal will be to map ajv errors back to specific React
Hook Form fields so we get precise UI error states.

I’ll get to work on these enhancements and update the PR as I make progress.

Best regards, Deep

Reply via email to