jazz icon indicating copy to clipboard operation
jazz copied to clipboard

Prevent calling jazz-react Auth providers with `new`

Open aeplay opened this issue 1 year ago • 1 comments

This is particularly problematic in pure-JS projects where you can't annotate JazzReactContext with the account schema manually

aeplay avatar Jun 12 '24 13:06 aeplay

this is apparently already the case, but fails if you call new on the Auth provider which is doesn't complain in plain JS VsCode

aeplay avatar Jun 12 '24 14:06 aeplay