jurassix / react-validation-mixin

Simple validation mixin (HoC) for React.
MIT License
283 stars 38 forks source link

Result too big size when using with react #20

Closed nguyenxuantuong closed 9 years ago

nguyenxuantuong commented 9 years ago

Hi,

I am wondering is there anyway to reduce the size of the library. When I use with react, it increases more than 2Mb of the output file (unminified), which is a lot and slow down my webpage.

Thank.

jurassix commented 9 years ago

This library is pretty small, but the dependencies are not. Both Joi and React are quite substantial projects. I am working towards giving an option for other validation libraries like Revalidator. see issue #14