HHS / simpler-grants-gov

https://simpler.grants.gov
Other
42 stars 13 forks source link

[Task]: Move parts of the frontend root layout to server components #1399

Open rylew1 opened 7 months ago

rylew1 commented 7 months ago

Summary

The Header, Footer, and GrantsIdentifier are all "client components" at the moment (using hooks) . In general I believe we want to extract as much of the component that's immutable/static and move it to server components. There still may be parts of those layout files that require hooks.

Believe the client portions that require hooks can be separate child components.

The Header/Footer/GrantsIdentifier are referenced by both the app router and the page router at the moment.

Acceptance criteria

rylew1 commented 7 months ago

cc @acouch