Skip to content

Warning: TNodeChildrenRenderer: Support for defaultProps will be removed from function components in a future major release #688

@hapo-nghialuu

Description

@hapo-nghialuu

Decision Table

  • My issue does not look like “The HTML attribute 'xxx' is ignored” (unless we claim support for it)
  • My issue does not look like “The HTML element <yyy> is not rendered”

Good Faith Declaration

Description

I encounter this error. Can you help me!
Version: ^6.3.4

Warning: TNodeChildrenRenderer: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

React Native Information

"expo": "~52.0.46",
"react-native-render-html": "^6.3.4",
"react-native": "0.76.9",

RNRH Version

<RenderHtml source={{ html: item.one_on_one_history.memo }} />

Tested Platforms

  • Android
  • iOS
  • Web
  • MacOS
  • Windows

Reproduction Platforms

  • Android
  • iOS
  • Web
  • MacOS
  • Windows

Minimal, Reproducible Example

Null

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugCrush'em all.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions