Made with Hope

🏗️ Reusing components

Hope AI treats all sessions and projects as interconnected parts of your component ecosystem. Every time you ship new components, they become available for reuse in subsequent sessions, regardless of their domain. This promotes a cleaner, more maintainable, and stable codebase, as new projects benefit from proven, existing components.

When initiating a new session, Hope AI prioritizes component reuse:

  1. Start a New Session: Enter your prompt.

    Prompt Hope AI to build a new page
  2. Review the Architecture: Hope AI highlights components for reuse or modification, along with domains requiring new development.

    Architecture with reused components
  3. Generate Components: Hope AI ensures proper dependency relationships between new and reused components.

Modifying Existing Components

In cases where an existing component is nearly suitable, Hope AI may suggest modifications to meet evolving requirements. This approach ensures adaptability and minimizes redundancy.

Specifying Components for Reuse

For more precise control, you can explicitly instruct Hope AI to use specific components in your prompt:

  1. Retrieve the Component Package Name:

    Obtain the component package name
  2. Include the Package Name in Your Prompt:

    Instruct Hope AI to use specific components

Hope AI will strive to adapt the proposed solution to incorporate your specified components.



🦶 Next steps