Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR Warning: bound renderChildren: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. #755

Closed
stevekuznetsov opened this issue Jun 12, 2024 · 1 comment · Fixed by #868

Comments

@stevekuznetsov
Copy link
Collaborator

 ERROR  Warning: bound renderChildren: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
    in bound renderChildren (created by ListElement)
    in RCTView (created by View)
    in View (created by TDefaultBlockRenderer)
    in TDefaultBlockRenderer (created by ListElement)
    in ListElement (created by ULElement)
    in ULElement (created by ULRenderer)
    in ULRenderer (created by MemoizedTNodeRenderer)
    in MemoizedTNodeRenderer
    in TNodeChildrenRenderer (created by MemoizedTNodeRenderer)
    in RCTView (created by View)
    in View (created by MemoizedTNodeRenderer)
    in MemoizedTNodeRenderer
    in TNodeChildrenRenderer (created by MemoizedTNodeRenderer)
    in RCTView (created by View)
    in View (created by MemoizedTNodeRenderer)
    in MemoizedTNodeRenderer
    in Unknown (created by RenderTTree)
    in RenderTTree (created by SourceLoaderInline)
    in SourceLoaderInline (created by RawSourceLoader)
    in RawSourceLoader (created by RenderHtmlSource)
    in RenderHtmlSource
    in RCTView (created by View)
    in View (created by Animated(View))
    in Animated(View) (created by TouchableOpacity)
    in TouchableOpacity (created by TouchableOpacity)
    in TouchableOpacity (created by HTML)
    in HTML (created by AvalancheTab)
    in RCTView (created by View)
    in View (created by AvyViewWrapper)
    in _c (created by VStack)
    in _c (created by CollapsibleCard)
    in RCTView (created by View)
    in View (created by Animated(View))
    in Animated(View) (created by Collapsible)
    in RCTView (created by View)
    in View (created by Animated(View))
    in Animated(View) (created by Collapsible)
    in Collapsible (created by CollapsibleCard)
    in RCTView (created by View)
    in View (created by AvyViewWrapper)
    in _c (created by VStack)
    in _c (created by Card)
    in RCTView (created by View)
    in View (created by AvyViewWrapper)
    in _c (created by Card)
    in RCTView (created by View)
    in View (created by Animated(View))
    in Animated(View) (created by TouchableOpacity)
    in TouchableOpacity (created by TouchableOpacity)
    in TouchableOpacity (created by Card)
    in RCTView (created by View)
    in View (created by AvyViewWrapper)
    in _c (created by Card)
    in Card (created by CollapsibleCard)
    in CollapsibleCard (created by AvalancheTab)
    in RCTView (created by View)
    in View (created by AvyViewWrapper)
    in _c (created by VStack)
    in _c (created by AvalancheTab)
    in RCTView (created by View)
    in View (created by ScrollView)
    in RCTScrollView (created by ScrollView)
    in AndroidSwipeRefreshLayout (created by RefreshControl)
    in RefreshControl (created by AvalancheTab)
    in ScrollView (created by ScrollView)
    in ScrollView (created by AvalancheTab)
    in AvalancheTab (created by AvalancheForecast)
    in Tab (created by AvalancheForecast)
    in RCTView (created by View)
    in View (created by AvyViewWrapper)
    in _c (created by VStack)
    in _c (created by TabControl)
    in TabControl (created by AvalancheForecast)
    in RCTView (created by View)
    in View (created by AvyViewWrapper)
    in _c (created by VStack)
    in _c (created by AvalancheForecast)
    in AvalancheForecast (created by ForecastScreen)
    in RNCSafeAreaView
    in Unknown (created by ForecastScreen)
    in ForecastScreen (created by SceneView)
    in StaticContainer
    in EnsureSingleNavigator (created by SceneView)
    in SceneView (created by SceneView)
    in RCTView (created by View)
    in View (created by DebugContainer)
    in DebugContainer (created by MaybeNestedStack)
    in MaybeNestedStack (created by SceneView)
    in RCTView (created by View)
    in View (created by SceneView)
    in RNSScreen (created by Animated(Anonymous))
    in Animated(Anonymous) (created by InnerScreen)
    in Suspender (created by Freeze)
    in Suspense (created by Freeze)
    in Freeze (created by DelayedFreeze)
    in DelayedFreeze (created by InnerScreen)
    in InnerScreen (created by Screen)
    in Screen (created by SceneView)
    in SceneView (created by NativeStackViewInner)
    in Suspender (created by Freeze)
    in Suspense (created by Freeze)
    in Freeze (created by DelayedFreeze)
    in DelayedFreeze (created by ScreenStack)
    in RNSScreenStack (created by ScreenStack)
    in ScreenStack (created by NativeStackViewInner)
    in NativeStackViewInner (created by NativeStackView)
    in RCTView (created by View)
    in View (created by SafeAreaProviderCompat)
    in SafeAreaProviderCompat (created by NativeStackView)
    in NativeStackView (created by NativeStackNavigator)
    in PreventRemoveProvider (created by NavigationContent)
    in NavigationContent
    in Unknown (created by NativeStackNavigator)
    in NativeStackNavigator (created by SceneView)
    in StaticContainer
    in EnsureSingleNavigator (created by SceneView)
    in SceneView (created by BottomTabView)
    in RCTView (created by View)
    in View (created by Screen)
    in RCTView (created by View)
    in View (created by Background)
    in Background (created by Screen)
    in Screen (created by BottomTabView)
    in RNSScreen (created by Animated(Anonymous))
    in Animated(Anonymous) (created by InnerScreen)
    in Suspender (created by Freeze)
    in Suspense (created by Freeze)
    in Freeze (created by DelayedFreeze)
    in DelayedFreeze (created by InnerScreen)
    in InnerScreen (created by Screen)
    in Screen (created by MaybeScreen)
    in MaybeScreen (created by BottomTabView)
    in RNSScreenContainer (created by ScreenContainer)
    in ScreenContainer (created by MaybeScreenContainer)
    in MaybeScreenContainer (created by BottomTabView)
    in RCTView (created by View)
    in View (created by SafeAreaProviderCompat)
    in SafeAreaProviderCompat (created by BottomTabView)
    in BottomTabView (created by BottomTabNavigator)
    in PreventRemoveProvider (created by NavigationContent)
    in NavigationContent
    in Unknown (created by BottomTabNavigator)
    in BottomTabNavigator (created by BaseApp)
    in RCTView (created by View)
    in View (created by BaseApp)
    in PortalProviderComponent (created by SelectProvider)
    in SelectProvider (created by BaseApp)
    in KillSwitchMonitor (created by BaseApp)
    in FeatureFlagsProvider (created by BaseApp)
    in RCTView (created by View)
    in View (created by PostHogProvider)
    in PostHogProvider (created by BaseApp)
    in EnsureSingleNavigator
    in BaseNavigationContainer
    in ThemeProvider
    in NavigationContainerInner (created by BaseApp)
    in RNCSafeAreaProvider (created by SafeAreaProvider)
    in SafeAreaProvider (created by BaseApp)
    in RenderersPropsProvider (created by RenderHTMLConfigProvider)
    in ListStyleSpecsProvider (created by RenderHTMLConfigProvider)
    in SharedPropsProvider (created by RenderHTMLConfigProvider)
    in RenderRegistryProvider (created by RenderHTMLConfigProvider)
    in RenderHTMLConfigProvider (created by HTMLRendererConfig)
    in TRenderEngineProvider (created by HTMLRendererConfig)
    in HTMLRendererConfig (created by BaseApp)
    in BaseApp (created by AppWithClientContext)
    in PreferencesProvider (created by AppWithClientContext)
    in AppWithClientContext (created by App)
    in IntlProvider (created by App)
    in QueryClientProvider (created by PersistQueryClientProvider)
    in PersistQueryClientProvider (created by App)
    in App (created by RootApp)
    in ReactNativeProfiler (created by RootApp)
    in RCTView (created by View)
    in View (created by __Sentry.TouchEventBoundary)
    in __Sentry.TouchEventBoundary (created by RootApp)
    in RootApp (created by withDevTools(RootApp))
    in withDevTools(RootApp)
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in main(RootComponent)

@stevekuznetsov
Copy link
Collaborator Author

This is caused by meliorence/react-native-render-html#661 and requires a new release of the package, it's already fixed there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant