react-native-render-html icon indicating copy to clipboard operation
react-native-render-html copied to clipboard

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

Open hapo-nghialuu opened this issue 6 months ago • 16 comments

Decision Table

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

Good Faith Declaration

  • [x] I have read the HELP document here: https://git.io/JBi6R
  • [x] I have read the CONTRIBUTING document here: https://git.io/JJ0Pg
  • [x] I have confirmed that this bug has not been reported yet

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

  • [x] Android
  • [ ] iOS
  • [ ] Web
  • [ ] MacOS
  • [ ] Windows

Reproduction Platforms

  • [x] Android
  • [ ] iOS
  • [ ] Web
  • [ ] MacOS
  • [ ] Windows

Minimal, Reproducible Example

Null

Additional Notes

No response

hapo-nghialuu avatar Jun 04 '25 09:06 hapo-nghialuu

Same here

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

Image

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

Image

bhavesh-trentium avatar Jun 05 '25 05:06 bhavesh-trentium

is there a fix for this?

organicwebnet avatar Jun 09 '25 08:06 organicwebnet

Same issue i am also facing and not find any solution

ejazseebiz avatar Jun 11 '25 07:06 ejazseebiz

I am facing the same issue - any updates?

amp-av avatar Jun 16 '25 13:06 amp-av

same issue

dule-vikki avatar Jun 16 '25 16:06 dule-vikki

same here

JMRLSK8 avatar Jun 18 '25 14:06 JMRLSK8

same here

AvinashShine avatar Jun 19 '25 08:06 AvinashShine

SAME ISSUE

JustinKubicz avatar Jun 24 '25 13:06 JustinKubicz

same here...

crbcchris avatar Jun 26 '25 12:06 crbcchris

There's an open PR #687 from @tristanheilman to fix this. It's been approved by @teodortt but hasn't been merged. Any updates on when we can expect this to be released? Cheers,

cashc avatar Jun 27 '25 20:06 cashc

Same issue here... please is this package still maintained?

miraclenonso avatar Jul 11 '25 23:07 miraclenonso

Same issue for me

LoadJulz avatar Jul 29 '25 08:07 LoadJulz

Same issue for me

lethanhan97 avatar Aug 08 '25 09:08 lethanhan97

hey, try my patch. Should be good: https://github.com/meliorence/react-native-render-html/pull/687#issuecomment-3197094670

olegmilan avatar Aug 18 '25 14:08 olegmilan

Same issue. Any update?

neman-get-local avatar Nov 03 '25 07:11 neman-get-local

I'm going to lock this issue; the repository is being migrated, see https://github.com/meliorence/react-native-render-html/issues/674#issuecomment-3376778976 for more details.

jsamr avatar Nov 04 '25 20:11 jsamr