UNPKG

@pixi/react

Version:

Write PixiJS applications using React declarative style.

1 lines 512 B
{"version":3,"file":"getChildHostContext.mjs","sources":["../../src/helpers/getChildHostContext.ts"],"sourcesContent":["import { NO_CONTEXT } from '../constants/NO_CONTEXT';\nimport { log } from './log';\n\nexport function getChildHostContext<T>(childHostContext: T)\n{\n log('info', 'lifecycle::getChildHostContext');\n\n return childHostContext ?? NO_CONTEXT;\n}\n"],"names":[],"mappings":";;;;AAGO,SAAS,oBAAuB,gBACvC,EAAA;AACI,EAAA,GAAA,CAAI,QAAQ,gCAAgC,CAAA;AAE5C,EAAA,OAAO,gBAAoB,IAAA,UAAA;AAC/B;;;;"}