Our great sponsors
-
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.
This tiny open-source library, originally created by JedWatson, is nothing but a versatile string “concatenator.” Currently sitting at over 6M weekly downloads, it rose to popularity alongside React - the UI library that it’s most commonly used with.
Now, as a free tip to at least 2x the performance of the thousands of classNames calls you probably make, just switch to clsx. It’s a similar library to classNames, but a bit more fresh-y, and with even fewer LOCs.
Related posts
- Is it okay to split long lists of class names across multiple lines? Why don't you?
- Creating an Image Upload Modal with Crop and Rotate Functionality in React
- How does everyone handle responsive layouts?
- TailwindCSS & Template Literals
- Dynamic CSS based on props: conditional className or style? (using CSS modules)