Performance can be improved with better caching and smart ways to determine when to pull data from relay.
If you are building for web, go build for mobile devices. with the limited battery, processing power, and a sandbox environment. You will learn a lot from how to build nostr app.
p.s. not sure who to tag. nostr:note1mj8meeg0vvmtknwdeccm2e67y2tv0exgleme2lat2lt894797fqsmcgpuf