Skip to content
#

update

Here are 1,015 public repositories matching this topic...

aaamrh
aaamrh commented Jan 26, 2022

I tried a lot of ways,but it dosen't show any information in console. I don't know what's wrong.

import { times } from "lodash";
import React from "react";
import ReactDOM from "react-dom";
import whyDidYouRender from "@welldone-software/why-did-you-render";

if (process.env.NODE_ENV === 'development') {
  const whyDidYouRender = require('@welldone-software/why-did-you-rende
jku
jku commented Feb 14, 2022

The example client has two conflicting goals:

  • provide "production-like" error messages: don't dump a 300 line stack trace if the network is down
  • be a useful debugging tool

For an example of the second I modified the example client to use some real world repositories: the error messages I got were mostly useless -- I needed to remove the error handling in the example app to see what the e

Improve this page

Add a description, image, and links to the update topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the update topic, visit your repo's landing page and select "manage topics."

Learn more