DEV Community

Discussion on: How SWR works behind the scenes

Collapse
 
zanehannanau profile image
ZaneHannanAU

Note that if you're writing a real-time API or similar; it's probably best to use an EventSource or WebSocket. EventSource is generally less work for the same output; though.