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
I am developing base form components in my project and I want to reuse type to provide form state to component. For example
I have a component called "ControlWrapper" which resposible for display label and validation error and I want to be full type safety, so I want to resuse FormState type from lib. Now I need to copy FromState from lib to my own type file and it is affect runtime typescript perfomance and maintainability
I am developing base form components in my project and I want to reuse type to provide form state to component. For example
I have a component called "ControlWrapper" which resposible for display label and validation error and I want to be full type safety, so I want to resuse FormState type from lib. Now I need to copy FromState from lib to my own type file and it is affect runtime typescript perfomance and maintainability
Problem to solve
Any developer can build his own full type sefety component base on this type
Intended users
Developer
Proposal
export FromState type from lib
The text was updated successfully, but these errors were encountered: