How to use the miniapp-framework-shared.debug function in miniapp-framework-shared

To help you get started, we’ve selected a few miniapp-framework-shared examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github alibaba / rax / packages / miniapp-framework-web / src / container / MessageRouter.js View on Github external
postMessage(message) {
        // add clientId and pageName for payload.
        const payload = { pageName, clientId, ...message };
        const data = { target: 'AppWorker', payload };
        debug(`r@${clientId}->w`, data);
        messageRouter.eventHandler({ data });
      },
      /**

miniapp-framework-shared

Framework shared libs for MiniApp.

Unrecognized
Latest version published 5 years ago

Package Health Score

56 / 100
Full package analysis