firefox-devtools / firefox-devtools/profiler

Reduce the multiple dispatches in profile load actions

Open
#2,109 0 comments 0 reactions 0 assignees View on GitHub
code maintenance polish
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

After #2000, we added some dispatches and some of them are added consecutively to the code base. (e.g. inside `setupInitialUrlState` there are 3 dispatches happening at the same time.)

That is usually an anti-pattern and we should avoid dispatching multiple dispatches happening at the same time. After talking to Greg, we have some idea how to reduce those but decided to do that as a follow-up.

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-170)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.