firefox-devtools / firefox-devtools/profiler
Reduce the multiple dispatches in profile load actions
Open
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
Assessment
This issue has not been assessed yet.