busypeoples / spected

Validation library
MIT License
703 stars 32 forks source link

How does this relate to revalidation? #3

Closed bookercodes closed 7 years ago

bookercodes commented 7 years ago

On the surface, it seems like revalidation is a React-specific implementation of spected.

Is the goal to make revalidation dependent on spected?

busypeoples commented 7 years ago

Exactly. Revalidation will have a dependency on Spected. By decoupling this part we can an easily build an Inferno or Preact Form validation Component for example.

bookercodes commented 7 years ago

Awesome, that makes a lot of sense!

Can I use Revalidation or should I expect breaking changes?

busypeoples commented 7 years ago

There still might be some breaking changes up until the 1.0.0 release, but the Spected dependency will not break anything.

bookercodes commented 7 years ago

Awesome, good to know. I am building an admin dashboard for my work project, pusher.com/sessions, and am considering Revalidation!