Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

Tiago pfp
Tiago
@alvesjtiago.eth
it seems like react-mentions (https://www.npmjs.com/package/react-mentions) has been abandoned. does anybody know about a good replacement that works well with shadcn?
1 reply
2 recasts
10 reactions

Andrei O. pfp
Andrei O.
@andrei0x309
I did mentions in a few frameworks(vue,react,svelte) and with a few UI libraries, it's not such a hard lift to require a library just build your own, and it will never be deprecated unless you abandon the project. Here is an example https://github.com/andrei0x309/fosscaster.xyz/blob/main/app/components/functional/modals/compose-cast.tsx#L355 in fosscaster.xyz repo, exactly using shadcn with react. When doing mentions the only important thing is if you use an editable div or a textarea, generally editable div is more modern but it can be done with both technologies, I haven't tried it yet to build it with the native popover API though.
1 reply
0 recast
0 reaction