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
The entire animate.css is included as a string in the package, consequently making the library unnecessarily large. After reading this, I kind of understand why this was done, but this is quite a disaster for ssr and statically generated pages. My generated HTML pages grew by 50% after adding this lib because the style is inline loaded (yet the same code also remains in the js that needs to be downloaded subsequently). I think it would make sense to make this optional. Including this directly in the source is not a good idea IMHO. I for one would prefer if I could take care of this on my end, maybe even pick only the parts of animate.css that I am interested in.
The text was updated successfully, but these errors were encountered:
I agree with you. I am going to release a new major version with a per-component CSS handling, so to minimize the amount of styling rules included in the final bundle.
The entire animate.css is included as a string in the package, consequently making the library unnecessarily large. After reading this, I kind of understand why this was done, but this is quite a disaster for ssr and statically generated pages. My generated HTML pages grew by 50% after adding this lib because the style is inline loaded (yet the same code also remains in the js that needs to be downloaded subsequently). I think it would make sense to make this optional. Including this directly in the source is not a good idea IMHO. I for one would prefer if I could take care of this on my end, maybe even pick only the parts of animate.css that I am interested in.
The text was updated successfully, but these errors were encountered: