You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using this on our backend, but ran into a simple case where it would be very handy to use on the frontend. I can't find any mention of why this wouldn't be advisable to use on the frontend.
I've tried it for the case we need it for, and it works exactly as I'd expect. I also read through the source and can't find any reason why this would be problematic. It require Node's events, but there's a fill for that for browsers that it uses.
An official response would be nice though since I can't find anything via Google. I'm just asking because "Node" is literally in the name, which suggests that it has some dependency on Node.
Thank you
The text was updated successfully, but these errors were encountered:
Angular, but I'm asking from a generic point of view. I don't think this should depend on the frontend framework in theory, which is why I didn't add it to the question.
I've actually decided not to use it for my use-case now, but if I was searching for this, others certainly are too. An authoritative issue would make for a good Google result.
This library makes use of the node events Emitter so you should have no problems if you have a great polyfill for it.
Note: I don't see a need to use this for the frontend as that will mean you're providing a caching layer per person on their machine which already exists as HTTP Caching or just use the localstorage
We're using this on our backend, but ran into a simple case where it would be very handy to use on the frontend. I can't find any mention of why this wouldn't be advisable to use on the frontend.
I've tried it for the case we need it for, and it works exactly as I'd expect. I also read through the source and can't find any reason why this would be problematic. It require Node's
events
, but there's a fill for that for browsers that it uses.An official response would be nice though since I can't find anything via Google. I'm just asking because "Node" is literally in the name, which suggests that it has some dependency on Node.
Thank you
The text was updated successfully, but these errors were encountered: