rewriting table to use react table
Hi! I have my current table but I wonder if its possible to make it work with react table. Im mostly concerned about one part because currently I have a little small icon that let user add Item to favorites (i use trpc to handle that on click)
Then inside this Item Component I handle the adding / removing stuff. But from what I see react table doesnt work that way so I wonder how should I approach this...
will post links to github code in comment below.
1 Reply
https://github.com/Infiplaya/cryptosito/blob/main/src/modules/homepage/components/CryptoTable.tsx
https://github.com/Infiplaya/cryptosito/blob/main/src/modules/homepage/components/CoinItem.tsx
GitHub
cryptosito/CryptoTable.tsx at main · Infiplaya/cryptosito
coinmarket clone. Contribute to Infiplaya/cryptosito development by creating an account on GitHub.
GitHub
cryptosito/CoinItem.tsx at main · Infiplaya/cryptosito
coinmarket clone. Contribute to Infiplaya/cryptosito development by creating an account on GitHub.