react-console-log
TypeScript icon, indicating that this package has built-in type declarations

1.1.14 • Public • Published

react-console-log

render console logs as a react component

  • very useful for testing mobile apps where we can't use inspection.

Install

npm i react-console-log

Usage

import { render } from 'react-dom';
import { ConsoleLog } from "react-console-log";

console.log("log");
console.warn("warning");
console.info("info");
console.error("error");

render(
  <ConsoleLog/>
  , document.getElementById("root")
);

/react-console-log/

    Package Sidebar

    Install

    npm i react-console-log

    Weekly Downloads

    80

    Version

    1.1.14

    License

    Apache-2.0

    Unpacked Size

    72 kB

    Total Files

    23

    Last publish

    Collaborators

    • yehonadav