I’m sure there are various ways to manipulate client-side data… but one way is to create a local override of the API response data, which will be used instead of the actual API response (this can be done on the network tab of your browser dev tools).
i.e. you can overrider the mget of the current User and change the User role, for example, or the user_signed_up property (which equates to user logged in).
Very useful for testing a lot of things, and understanding how things like conditions work.
2 Likes