hunk.code_window:       return () => {}
       }
       function Page() {
         const { data, error } = useSWRSubscription([swrKey], subscribe, {
           fallbackData: 'fallback'
         })
         return (
           <>
             <div data-testid="data">{'data:' + data}</div>
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:       const { data, error } = useSWRSubscription(() => [swrKey], subscribe, {
  
hunk.file_path: test/use-swr-subscription.test.tsx
hunk.type: replace
file: // an endpoint for getting user info
  export default function user(req, res) {
    if (req.cookies['swr-test-token'] === 'swr') {
      // authorized
      res.json({
        loggedIn: true,
        name: 'Shu',
        avatar: 'https://github.com/shuding.png'
      })
      return
    }
  
    res.json({
      loggedIn: false
    })
  }
  