Warning: TNodeChildrenRenderer: Support for defaultProps will be removed from function components in a future major release
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
Same here
Warning: TRenderEngineProvider: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
Warning: MemoizedTNodeRenderer: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.
is there a fix for this?
Same issue i am also facing and not find any solution
I am facing the same issue - any updates?
same issue
same here
same here
SAME ISSUE
same here...
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,
Same issue here... please is this package still maintained?
Same issue for me
Same issue for me
hey, try my patch. Should be good: https://github.com/meliorence/react-native-render-html/pull/687#issuecomment-3197094670
Same issue. Any update?
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.