Install
Release candidates are published under npm’src tag, as 2.0.0-rc.N.
@photonhealth/react includes the matching @photonhealth/client, so you don’t install that separately. Include @rc until 2.0.0 is released.
The latest release candidate is 2.0.0-rc.2, for both packages. It uses the current Network schema, and adds:
- Machine credentials for the JavaScript client, so your backend can call it with its own client id and secret. See On your backend.
- Sig options in the client and
PhotonPrescription. See Sig options.
Start in the sandbox
Useneutron while you build. See Environments.
What a release candidate means
- Each
2.0.0-rc.Ncan change before 2.0.0. Pin an exact version, such as2.0.0-rc.2, to choose when you take changes. rcresolves to2.0.0-rc.2.lateststill resolves to2.0.0-rc.1, so an install without@rcgets the older release.latestdoes not mean a stable 2.0.0 release is available.@photonhealth/client/testing, the helpers for your own tests, may change before 2.0.0.
@photonhealth/react 1.x is an earlier, unrelated package with a different API. 2.0.0 isn’t an upgrade from it. If you use 1.x, see the migration guide.