My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How to create/use the same form component in react for CRUD operations

Arun Kumar's photo
Arun Kumar
·Jul 31, 2019

Hi Team,

I want to use a single from react component for the CRUD operations on a DB resource. Could you please give me some ideas on how to achieve this? Like, how to structure the component, props, state and http methods for the API call.

Thanks, Arun