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.1, for both packages.
The next release candidate 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:
rx.loadSigs()in the client, and suggested sigs inPhotonPrescription. 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.1, to choose when you take changes. - 2.0.0 will be published under npm’s
latesttag. Then you can drop@rc. @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.