MiroslavPetrik / react-form-action

tRPC like builder for the Next.js & React form actions.
MIT License
19 stars 1 forks source link

Provide hooks for context-like access #7

Open tyteen4a03 opened 1 month ago

tyteen4a03 commented 1 month ago

It would be great if the package isn't limited to renderProps but instead can let child component access state via hooks.

MiroslavPetrik commented 2 weeks ago

Yeah, I saw the useActionState results pushed into Context API in the react conf by Sam Selikoff.

What are your use cases for this?