>= 16.8.0 matches 16.8.0, 16.9.0, …, 16.50.0, 17.0.0, …, 18.0.0 (!), …, 19.0.0 and so on. This makes >= 16.8.0 || 18.0.0 expression pointless.
I believe your intention was to set the range of supported React versions to ^16.8.0 || ^17.0.0 || ^18.0.0, translating to human speech: Anything above and including 16.8.0, but not 19.0.0 or higher (yet).
peerDependencies are set to:
>= 16.8.0
matches 16.8.0, 16.9.0, …, 16.50.0, 17.0.0, …, 18.0.0 (!), …, 19.0.0 and so on. This makes>= 16.8.0 || 18.0.0
expression pointless.I believe your intention was to set the range of supported React versions to
^16.8.0 || ^17.0.0 || ^18.0.0
, translating to human speech: Anything above and including 16.8.0, but not 19.0.0 or higher (yet).