jsonapi-react icon indicating copy to clipboard operation
jsonapi-react copied to clipboard

Support React 18

Open marcsoler opened this issue 2 years ago • 3 comments

Readme states the support of "React 16.8 or later" yet it's a bit outdated now and not installable on a React v18 project:

https://github.com/aribouius/jsonapi-react/blob/426115ab64093588fff88f9cdadcf4134d670d31/package.json#L19-L22

I've force-installed this package into my project and so far works well with React 18 so I believe there is an easy fix to solve/update this.

marcsoler avatar Dec 16 '22 09:12 marcsoler

x2 Using this with React 18 with no issues!

benoror avatar Feb 07 '23 00:02 benoror

Just ran into this, can we get the peer dependencies updated please?

@benoror how did you force install it?

erichaus avatar Apr 18 '23 18:04 erichaus

  "overrides": {
    "jsonapi-react": {
      "react": "^16.8.0 || ^17.0.0 || ^18.0.0", 
      "react-dom": "^16.8.6 || ^17.0.0 || ^18.0.0"
    },
  }

benoror avatar Apr 18 '23 18:04 benoror