You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
demoncord-rewrite/src/api/common.js

23 lines
449 B

import webpack from "./webpack"
import * as idb from "idb-keyval"
import * as nests from "nests"
const { findByProps } = webpack
const React = findByProps(
"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",
"createElement"
)
export default {
React,
ReactDOM: findByProps(
"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",
"hydrate"
),
dispatch: findByProps("dirtyDispatch").__proto__,
idb,
nests
}
export { idb, nests, React }