Gregable / social-security-tools

Website Source for https://ssa.tools/
https://ssa.tools/
MIT License
76 stars 17 forks source link

Use the recipient store less frequently #298

Closed Gregable closed 1 year ago

Gregable commented 1 year ago

Now that I better understand the $ syntax's behavior, I can see that in a number of places, we are subscribing to updates when they are not relevant. Most of these are for the recipient names, which don't change after the initial flow.

This change reduces the number of subscriptions, which should have the effect of reducing some CPU from callbacks. It's probably minimal, but at least it's a little cleaner.

vercel[bot] commented 1 year ago

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

Name Status Preview Updated (UTC)
social-security-tools 🔄 Building (Inspect) Visit Preview Sep 15, 2023 2:11am