microsoft / microsoft/AzureStorageExplorer

Move registering async listeners outside of React code

Open
#7,526 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

:test_tube: engineering
Dominant language
No language data
Stars
452
Forks
92
Avg merge
15h 20m
Merged PRs (30d)
3

Description

Instead of having React components register/unregister with the host system directly, provide a mediator prop to handle that instead. This avoids having the potentially buggy behavior of handling asynchronous event registration.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating the React components that register and unregister asynchronous listeners with the host system, then trace how their props reach that registration code. Identify the existing mediator pattern or prop boundary and confirm the intended registration lifecycle before making changes. Done means registration is handled through a mediator prop rather than directly by React components, with the affected behavior covered by existing tests if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.