swarmcity / boardwalk-ts

Boardwalk implementation in TS
boardwalk-ts.vercel.app
MIT License
1 stars 0 forks source link

perf: remove `useMarketplaceItem` in `DisplayItem` #182

Closed filoozom closed 1 year ago

filoozom commented 1 year ago

The issue with this is simple: we're doing one JSON RPC request per displayed item, which clearly doesn't scale. As we don't display the reputation there, we actually already have all the information we need, so I was able to make that call redundant, making the app faster and the RPC happier (it doesn't constantly return 429 errors now).

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
boardwalk-ts ✅ Ready (Inspect) Visit Preview Oct 30, 2022 at 9:36PM (UTC)
github-actions[bot] commented 1 year ago

🐝 PR preview in Swarm

Preview URL: https://bah5acgzayydxyy3ppnqkbv45sbefkmiobqejbzgiismi3yluyui2xcmitiaa.bzz.link Swarm Hash: c6077c636f7b60a0d79d904855310e0c0890e4c844988de174c511ab89889a00 Commit Hash: 4a1b001e463bf64e17444c5e273aebe5e0fee603 Commit Message: perf: remove useMarketplaceItem in DisplayItem