Adding Client-Side Interactivity to a Mainly Static Page
Unanswered
Pectoral Sandpiper posted this in #help-forum
Pectoral SandpiperOP
I'm working on a project on the nextjs 13 with app routing and using server component. I want to enable certain client-side interactions. For instance, if a content creator is logged in (using methods like client-side login or auth0 firebase auth etc), how can I add inline editing functionality to their content? Additionally, I'd like to implement features like changing the like button color or increasing the total like count after a user logs in if they've previously liked something. How can I effectively use useState and useEffect on a page that's primarily statically generated without damaging seo friendly content? In essence, I want the site to be fully static but with some user-manipulable parts. Thanks in advance