json-viewer icon indicating copy to clipboard operation
json-viewer copied to clipboard

React 19 compatibility

Open jonesmac opened this issue 8 months ago • 7 comments

Any chance we can upgrade this package to use react 19?

jonesmac avatar Mar 11 '25 21:03 jonesmac

I've added a PR to address this here - https://github.com/TexteaInc/json-viewer/pull/574

@pionxzh not sure if you or someone else is actively maintaining but I'd love to work on getting this package upgraded.

jonesmac avatar May 05 '25 04:05 jonesmac

Thanks. I will check it.

pionxzh avatar May 05 '25 07:05 pionxzh

Could we upgrade the version of the peer dependency library react to v19 safely now? @pionxzh Image

cw1997 avatar Jul 01 '25 20:07 cw1997

same here :-)

sidescraper avatar Jul 07 '25 17:07 sidescraper

The react-19 upgrade has been merged to the next branch if you want to try it.

https://github.com/TexteaInc/json-viewer/pull/574

Not sure when a new version will be deployed 🤷

jonesmac avatar Jul 07 '25 19:07 jonesmac

So... Any updates?

Can it be published?

Or can you provide instructions how to install this package from specific branch? I'm trying npm install github:TexteaInc/json-viewer#next but it doens't works

NookieGrey avatar Aug 12 '25 10:08 NookieGrey

@NookieGrey

I ended up doing this in my package.json:

  "overrides": {
    "@textea/json-viewer": {
      "react": ">=17",
      "react-dom": ">=17"
    }
  }

ericOrthoshop avatar Nov 13 '25 20:11 ericOrthoshop