Results 87 comments of Simon Green

May apply: https://github.com/redis/redis-om-node/issues/40#issuecomment-1100228715

This is probably at the point where it is ready for review. I've successfully used it to store and index both image and text vectors so it's already usable if...

Here's some examples of the image matching, the top left image in each set is the source that was searched for and the rest are the matches (out of about...

> The reason **onAuthStateChange()** doesn't work for some cases is because it can't block the rendering of the page when certain frameworks/SPA libraries use async functions to determine page loading...

No, you don't do any redirect _until_ you know you need to, which is only when auth has resolved. You only wait once, then make decisions on auth state when...

The callback is the signal. All you have to do if you need it in event form is to dispatch whatever event you want in that callback. Something like: ```js...

I'm assuming it works like firebase, and that the 'onAuthStateChange' will run to say the user is signed out. i.e. it's indicating that someone isn't signed in, not that they...

Apologies if my assumptions about the quality of supabase were incorrect. From a quick test, it looks like the initial auth state returned is always correct, at least for being...

Yeah, no worries _whatsoever_ :) I think the simplest would be for `onAuthStateChange` to report _all_ state changes. i.e. it should fire the first time the state is known and...

> how is onFoo connected to _onButtonClick or _onButtonClick? That was my first reaction too, but I guess it's like ye-olde standard html event handler properties such as `onclick` (whatever...