If I reference the return value of /auth/me/data/user_id repeatedly, does it repeatedly call the api? I would expect it to NOT call the API repeatedly. But what I'm seeing is if I refer to that full path (/auth/me/data/user_id) instead of assigning to a variable and then using the variable, /auth/me/data/user_id at some point goes to null.
The solution is to assign it to a variable first and use the variable in the repeat. But this was not expected and I would like some confirmation of best practice around this.
I think assigning it to a variable first is a wasted step. And bringing down user_id from /auth/me once and repeatedly referring to it as if its a normal variable seems like it should work. But in reality it seems not to, and its super inconsistent.