google / site-kit-wp

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
https://sitekit.withgoogle.com
Apache License 2.0
1.22k stars 278 forks source link

Rewrite reducers to use Immer. #5795

Open techanvil opened 1 year ago

techanvil commented 1 year ago

Feature Description

We may wish to follow up https://github.com/google/site-kit-wp/issues/4864 with some additional work to refactor existing reducers to use Immer where it would improve readability and maintenance.

Adding here as a placeholder which may be repurposed.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Test Coverage

QA Brief

Changelog entry

aaemnnosttv commented 1 year ago

@techanvil I think this issue is a bit too broad to do in a single issue. Would you please break this out into separate issues for specific stores/instances? It would probably be good to focus the first few on the reducers that would benefit from this the most. Then this issue could be closed. Thanks!

techanvil commented 2 months ago

Thanks @aaemnnosttv, that makes sense. However, as I've not been able to get to this for a while, I've unassigned it so someone else can pick it up if they have capacity.