cloudflare / cloudflare/kumo

Migrate from `cnfast` to `cn`

Open Beginner friendly
#775 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.9k
Forks
177
Avg merge
1d 5h
Merged PRs (30d)
48

Description

Hi,

I know it's only been 3 months since project moved away from `clsx` + `tailwind-merge` to `cnfast` (#597) but @shadcn and @aidenybai (author of `cnfast` btw) just open sourced `cn` which is even faster than `cnfast` 😄

More info here: https://www.npmjs.com/package/cn
and here: https://github.com/shadcn-ui/cn

It's as simple as replacing `cnfast` dependency and references with `cn` and keeping everything else the same. Tried locally, and it builds. Can submit a PR for it if you consider touching the very same thing in 3 months apart.

Cheers,
G.

Contributor guide

Open the contributing guide

Research direction

Start by locating the cnfast dependency and its references in the project, then review the linked cn package information. The work is done when those references use cn instead, everything else remains unchanged, and the project builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.