AlexsLemonade / AlexsLemonade/refinebio-web

Update the project's dependency from isomorphic-fetch to cross-fetch

Open
#341 0 comments 0 reactions 1 assignee Claimed by @nozomione View on GitHub
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Context
To prevent the `Module not found: Can't resolve 'unfetch'` error, replace [`isomorphic-fetch`](https://github.com/matthew-andrews/isomorphic-fetch) (not actively maintained) with [`cross-fetch`](https://github.com/lquixada/cross-fetch).

We'll address this issue before the Next.js app router migration begins.

### Problem or idea
Update the project dependency listed above.

### Solution or next step
- Add [`cross-fetch`](https://github.com/lquixada/cross-fetch)
- Remove [`isomorphic-fetch`](https://github.com/matthew-andrews/isomorphic-fetch)
- Adjust the import statements

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.