-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Not every device uses a powerful desktop processor like the one used in the benchmark (Ryzen 5 5600x). Those perf gain compound over time.
> my code doesn't need tests, types, or docs because it is builtin and known to work
Oh boy.
> if you did an actual fair comparison, you would see that my code is actually shorter than yours
My comparison is 100% fair. Your new version does not work; `arguments` is array-like object and does not support Array.filter: arguments.filter is not a function.
> the point is that we have another, unnecessary npm dependency
If you value having one less dependency over everything else, then more power to you, but clsx and classnames are very popular libraries for a reason.
> you ought to link to where / how you did that
It's in the readme. I locally added your version and ran the following: https://github.com/alexnault/classix/blob/main/benchmark/ind...
Related posts
-
Classix — a faster and smaller alternative to clsx and classnames for conditionally joining classes
-
Introducing classix, a faster and smaller alternative to clsx and classnames for conditionally joining classes
-
Introducing classix, a faster and smaller alternative to clsx and classnames for conditionally joining classes
-
Use postcss-cva to generate cva method
-
How do you design Button in React js?