Skip to content

components have no name in react devtools" when using "view(()=><comp />)" #93

@fxioi

Description

@fxioi

Thanks for an excellent library!

os: macOS 10.14.6
browser: Chrome 76.0.3809.132
react-easy-state@6.1.3
react@16.9.0

components have no name in react devtools" when using "view(()=><comp />)"

// has name
const RuleItem = ({ config }) => {
  return (
    <xxx config={config} />
  )
}

// no name
const RuleItem = view(({ config }) => {
  return (
    <xxx config={config} />
  )
})

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions