TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Smart Workflows for Shared Components?

1 pointsby mk4palmost 6 years ago
We currently have a WordPress site (marketing) and a custom React web app (business logic). The goal is for the look and feel of both to be consistent, and to stay DRY by sharing our React components.<p>I expect that we&#x27;ll keep the components in a separate npm package, and in the case of any major changes to the component library, just manually synchronize the deployment of both sites.<p>To minimize the marketing dept&#x27;s dependency on engineering, I&#x27;m thinking of using a headless WP installation to manage the content and pull it into React components dynamically. Ideally using SSR, or less-ideally loading the content using XHR.<p>Has anyone dealt with this type of setup before? Are there any obvious pitfalls, or best practices for keeping teams independent while keeping multiple sites in sync?

no comments

no comments