Andrew MacLeay

Results 7 comments of Andrew MacLeay

I think typically one would want to handle the dispatch in a `useEffect`, so rewriting the above you might have: ```tsx const MyComp = () => { const { mutate:...

I'll add in one more detail here which I think is pretty pertinent and has tripped up a number of developers (including me!) several times. Suppose you have a search...

Fair enough! I totally appreciate the core use case, and the intended behavior certainly works for probably the majority of use cases. My observation is that, in the wild, we...

> @amacleay-cohere hi, just wondering if you are still working on this PR? @tan75 Unfortunately not, I haven't actually looked at this in a while. I just left the PR...

A very helpful Okta support engineer responded to an inquiry about this and suggested what has turned out to be a very effective work-around. See `safelyGetToken` below which is used...

Thanks for the reminder! We've had this workaround in place but it hasn't been triggered since we updated to v4, so we can remove it now. Thanks @amcdnl !

At the risk of sounding like I have no idea what I'm doing, @Jessidhia could you elaborate on a good way to "reference it somehow"? Does it just need to...