Summary
Evaluate replacing the guarded effect that synchronizes the URL query to Header local input state with a simpler representation.
Required changes
- Consider
key={urlQuery} remounting or a fully derived input value.
- Keep behavior unchanged if the existing implementation remains necessary.
Affected areas
Acceptance criteria
- The search input remains synchronized with the URL query.
- The implementation does not need a ref-guarded synchronization effect, unless a documented constraint requires it.
Source
Summary
Evaluate replacing the guarded effect that synchronizes the URL query to
Headerlocal input state with a simpler representation.Required changes
key={urlQuery}remounting or a fully derived input value.Affected areas
Header.tsxAcceptance criteria
Source