Post

I haven't tried the React compiler so that's totally possible. But since the promise has a consistent identity on every render this seems like it should be okay. Also worth noting that this is in a SPA so it's client-side code.