Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

Try reducing the component hierarchy for Group block #1485

Closed

Description

@pinarol

We are facing with a crash when we nest too much in the Group block.

The root cause analysis made by @dratwas shows that the crash is related with the following line where there's a max limit in calculating layout:
https://href.li/?https://github.com/facebook/react-native/blob/master/React/Views/RCTShadowView.m#L156-L182

We should try to address that issue separately, but apart from that, let's also take a look inside our code and see if there's unnecessary layers in the component hierarchy. block-list/block.native.js looks especially worth investigating about this.

Screen Shot 2019-10-23 at 12 12 48

Activity

  1. changed the title [-]Try reducing the component hierarchy in Group block[/-] [+]Try reducing the component hierarchy for Group block[/+] on Oct 23, 2019
  2. self-assigned this
    on Jan 15, 2020
  3. removed their assignment
    on Jun 10, 2020
  4. pinarol commented on Jul 24, 2020

    @pinarol
    ContributorAuthor

    I think the new bordering logic helped us make this better, so closing this or now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions