File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @plasmicapp/react-ssr-prepass" ,
3- "version" : " 2.0.6 " ,
3+ "version" : " 2.0.7 " ,
44 "description" : " A custom partial React SSR renderer for prefetching and suspense" ,
55 "main" : " dist/react-ssr-prepass.js" ,
66 "module" : " dist/react-ssr-prepass.es.js" ,
Original file line number Diff line number Diff line change @@ -81,8 +81,9 @@ import {
8181
8282import { isClientReference } from './utils'
8383
84- const { ReactCurrentDispatcher } = ( React : any )
85- . __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
84+ const { ReactCurrentDispatcher } =
85+ ( React : any ) . __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED ||
86+ ( React : any ) . __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE
8687
8788// In the presence of setImmediate, i.e. on Node, we'll enable the
8889// yielding behavior that gives the event loop a chance to continue
You can’t perform that action at this time.
0 commit comments