Skip to content

[DevTools] polish hooks: complex values preview  #17073

@a-x-

Description

@a-x-

We create many useDebugValue helpers, loggers and so one now, so we can feel less pain.

What matter (Updated)

  • previewing complex values brifely like chrome devtools does it for arrays, sets, maps, objects,,,

I wrote related twit recently with one of my DebugValue helpers. screenshot out here:
Screenshot 2019-09-29 at 14 01 53
my named hooks currently require a label option unless react babel cannot transform name of variable automatically

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions