Sephirosu / figma-next-tailwind

https://figma-next-tailwind.vercel.app
0 stars 0 forks source link

Search functionality should not be duplicated and should be centralized/re-used #14

Open mSenad opened 1 month ago

mSenad commented 1 month ago

https://github.com/Sephirosu/figma-next-tailwind/blob/5c2265816c9ba4c67ab547a2f2959df413e0d4d8/src/components/Search/SearchAll.tsx#L24

Having two components that should work almost the same is quite challenging. We want to have one functionality that will be use d through two components. Let's think about how to solve this problem without having to duplicate a lot of code. Think in terms of re-usability.

Sephirosu commented 1 month ago

Ista stvar ovdje.Uradim!