Chris Esplin

Results 21 comments of Chris Esplin

Finite pagination is tricky! You usually have to provide your REST API secret, which is risky to expose to the public. Firestore does MUCH better pagination than the RTDB, but...

I paginate in the RTDB by reading from either the top or the bottom of the list. I don't send a key on the first query. If I want to...

W00T!!! Yes please! How about I just make you a contributor? The code itself has been stable for months, but you're right that I haven't done a good job of...

Regarding turning it into a class... I'm not sure if it's necessary to get it to export. But go ahead and convert it to a class if it's easier. It...

That looks great. It'd be awesome if it could export an ES5 compatible file to be used with script tags... but if not, I'll just use the older version off...

This is very browser-dependent. It's a fun trick, but I wouldn't rely on it if you need any sort of cross-browser compatibility.

The only cookie that Firebase Functions will forward is `__session`. You have to name your cookie `__session` and it just works 🤦

We currently support partial string matches. We're using `url.toLowerCase().includes(blockedUrl)`. I'll get a PR up to improve the docs.