APIDevTools / json-schema-ref-parser

Parse, Resolve, and Dereference JSON Schema $ref pointers in Node and browsers
https://apitools.dev/json-schema-ref-parser
MIT License
952 stars 227 forks source link

feat: a mortdern way to detect browser #266

Closed Lantianyou closed 1 year ago

Lantianyou commented 2 years ago

https://stackoverflow.com/questions/49411796/how-do-i-detect-whether-i-am-on-server-on-client-in-next-js

Lantianyou commented 2 years ago

image

Using process in browser will cause app crash, having trouble with it.

philsturgeon commented 1 year ago

Thank you for this, this is being implemented as part of larger changes in #280.