-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The StaticSite component uses the CloudFront distribution under the hood, creating the tight coupling. With this setup, flexibly is limited, both in reusing and tweaking the CloudFront distribution. As mentioned in the #73 the CloudFront should be a separate component (outlined in #79).
Logic of the StaticSite must be modularized to allow for easier composition and partial reuse if needed, thus providing flexibility for the consumers. In the end, StaticSite is a higher-order component and as such should rely on lower-order components instead of encapsulating them.
Key deliverables:
- Update to standalone CloudFront component.
- Move S3 related logic into separate component which can be used independently.
- Implement integration tests.
- If applicable, use builder pattern for smoother creation.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request