<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/sharing-state-with-islands-architecture-saexqvtmy" -->

---
title: Sharing State with Islands Architecture | daily.dev
description: Islands Architecture allows for rendering interactive components while keeping the rest of the website as static HTML. The challenge in Islands Architecture is...
canonical: https://daily.dev/posts/sharing-state-with-islands-architecture-saexqvtmy
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Sharing State with Islands Architecture | daily.dev
og:description: Islands Architecture allows for rendering interactive components while keeping the rest of the website as static HTML. The challenge in Islands Architecture is...
og:url: https://daily.dev/posts/sharing-state-with-islands-architecture-saexqvtmy
og:image: https://api.daily.dev/og/posts/sAeXqvtmY.png
og:image:alt: Sharing State with Islands Architecture
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Sharing State with Islands Architecture

**[Community Picks](https://daily.dev/sources/community)** · 8 min read · 18 upvotes · 2 comments

## Summary

Islands Architecture allows for rendering interactive components while keeping the rest of the website as static HTML. The challenge in Islands Architecture is sharing state between interactive components. Options include lifting state up, using custom event handlers, or using a shared store.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://frontendatscale.com/blog/islands-architecture-state/>

## Community discussion

Top comments from developers on daily.dev.

**@oleksandrl** · 0 upvotes

> After all, we can achieve the same behavior using Redux or any other state manager, or even if we wrap a server component with client components, it will not make them client-side, they will be executed only on the server if there is no interaction with the client.

---

Tags: [#react](https://daily.dev/tags/react), [#webdev](https://daily.dev/tags/webdev)

[View this post on daily.dev](https://daily.dev/posts/sharing-state-with-islands-architecture-saexqvtmy)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Sharing State with Islands Architecture","url":"https://daily.dev/posts/sharing-state-with-islands-architecture-saexqvtmy","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/sharing-state-with-islands-architecture-saexqvtmy"},"datePublished":"2023-10-11T09:01:08.607Z","dateModified":"2023-12-07T12:02:45.284Z","description":"Islands Architecture allows for rendering interactive components while keeping the rest of the website as static HTML. The challenge in Islands Architecture is...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1416381e2fbe5a8b2810f2a69229809e?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1416381e2fbe5a8b2810f2a69229809e?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Community Picks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":2,"discussionUrl":"https://daily.dev/posts/sharing-state-with-islands-architecture-saexqvtmy","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":18},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"react,webdev","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"Sharing State with Islands Architecture"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/sharing-state-with-islands-architecture-saexqvtmy","comment":[{"@type":"Comment","text":"After all, we can achieve the same behavior using Redux or any other state manager, or even if we wrap a server component with client components, it will not make them client-side, they will be executed only on the server if there is no interaction with the client.","datePublished":"2023-10-11T21:28:21.487Z","url":"https://daily.dev/posts/sAeXqvtmY#c-YnjGuu6GK","author":{"@type":"Person","name":"Alex","url":"https://daily.dev/oleksandrl","image":"https://media.daily.dev/image/upload/s--P1uQxKR0--/f_auto,q_auto/v1696363558/avatars/avatar_pXhLHArq3AqldWBq0pmWB"}}]}
```

