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
It's 11.8kb min. Don't use packagephobia or bundlephobia.
What's the problem?
I see the problem as being that it is just a form and a package of wrappers for it, which is such a large installation size.
Just doing the npm i @tanstack/react-form generates about 30 MB of communication.
This is not very desirable for CI or for developers who have pipelines in place for builds.
In fact, I have not been able to employ this in a new product I am creating because I am afraid of it.
Q. Why not just use a cache (in CI/CD)?
A. Yes, of course I agree, and I am sure everyone is already doing so.
But it's not very nice for developers to have to allocate so much disk space and network bandwidth, even temporarily, just for the form library and its wrappers.
If the installation size can be kept small, it should be.
Tanner was the one who answered this in X, and since I was new to sending an issue to a repository of this size and organization, I felt it would be quicker to ask Tanner, so I was menshoning...
I am so sorry...
I will turn it off.
The current install size of
@tanstack/react-form
is 24MB.https://packagephobia.com/result?p=@tanstack/react-form
Someone has already asked me about this on my behalf and I understand that you have also responded about it.
https://x.com/tannerlinsley/status/1897323043510431970
What's the problem?
I see the problem as being that it is just a form and a package of wrappers for it, which is such a large installation size.
Just doing the
npm i @tanstack/react-form
generates about 30 MB of communication.This is not very desirable for CI or for developers who have pipelines in place for builds.
In fact, I have not been able to employ this in a new product I am creating because I am afraid of it.
What is this package used for?
That's it. Just those three lines.
https://packagephobia.com/result?p=%40remix-run%2Fnode
https://github.com/TanStack/form/blob/main/packages%2Freact-form%2Fsrc%2Fstart%2Futils.ts
This improvement alone will reduce the package installation size to about 1 MB.
Perhaps hopefully the post-bundle size can be further reduced as well.
The text was updated successfully, but these errors were encountered: