```js
// .storybook/preview.js

import React from 'react';
import fetch from 'node-fetch';

export const loaders = [
  async () => ({
    currentUser: (await fetch('https://jsonplaceholder.typicode.com/users/1')).json(),
  }),
];
```
