[Question]How to unmount components from HostingView?

Open
#969 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp, ios, objective-c
Domain
mobile

Research direction

Start by reviewing the HostingView usage with collectionViewCell and the didEndDisplayingCell lifecycle described in the issue. Trace how component state is managed during cell reuse, then confirm with maintainers what documented unmounting behavior should be; the issue is complete when that guidance is clear.

Written by the indexing model from the issue text.

Description

I'm using hostingView on collectionViewCell, I want to know the state of the component when the cell didEndDisplayingCell,, so I need to uninstall the component

Dominant language
Objective-C++
Stars
5.7k
Forks
574
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from facebook/componentkit

All issues in facebook/componentkit

Similar issues

More Mobile Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.