lukeed/clsxPublic

A tiny (239B) utility for constructing `className` strings conditionally.

Proposed ability to add sub & pseudo classes #93

ClosedSirCameronclosed 2 commits intomasterfromrefs/pull/93/head
ConversationFiles changed
3 files changed+52-36
StackedSplit
src/index.js+22 −12
test/classnames.js+7 −11
test/index.js+23 −13

Comments on earlier or unavailable lines

Removing these isn't a fix. The next assertion fails w/ these restored, which shows that this PR is a breaking change.

test/classnames.js:83–87base05202c6
Author

Thanks, I didn't propose it as a non-breaking change. You are already doing versioned releases; this would be a new breaking release, no?

I removed those because they no longer apply as truthy - not as a fix, but a change.

I tried to keep the code style changes to a min.

test/classnames.js:83–87base05202c6