Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Additional Usage Examples in Documentation #12

Open
yooyea opened this issue Mar 20, 2024 · 2 comments
Open

Request for Additional Usage Examples in Documentation #12

yooyea opened this issue Mar 20, 2024 · 2 comments

Comments

@yooyea
Copy link

yooyea commented Mar 20, 2024

Dear Maintainers,

Greetings!

I am a developer from the community who has been working with your project. While the existing documentation provides a solid foundation for understanding and applying the project, I believe that including more usage examples would greatly assist both newcomers and experienced developers in mastering the various features and best practices of the project.

Specifically, I think the following areas could benefit from additional examples:

Beginner-Level Examples: Detailed, step-by-step examples for beginners would help them quickly get started with the project.

Advanced Feature Demonstrations: Examples that showcase advanced features or complex use cases can help developers understand how to tackle complex problems in real-world scenarios.

Common Issue Solutions: Providing examples of common issue solutions can allow developers to quickly find answers when they encounter problems.

Best Practice Guidelines: Examples illustrating best practices can help developers avoid common pitfalls and improve the quality and maintainability of their code.

Integration with Third-Party Services: If the project is often used for integration with third-party services, examples in this area would be invaluable.

I understand that creating and maintaining documentation requires a significant amount of time and effort, but I believe that adding more examples will enhance the usability of the documentation and the popularity of the project. If needed, I am willing to contribute my part by providing some examples or helping to improve the existing documentation.

Thank you for your contributions to the project and the community!

Best regards,

@typicode
Copy link
Owner

Thank you for the feedback. Do you have examples or cases where you think users may struggle?

@atmin
Copy link

atmin commented Mar 21, 2024

I'd find "Nested components" example in the "How to" section helpful.

Something along the lines of

import { List as MistList } from '.components/List.mist';
import { ListItem } from '.components/ListItem.mist';

export function List({ items }: { items: string[] }) {
  return (
    <MistList>
      {items.map((item) => <ListItem>{item}</ListItem>)}
    </MistList>
  );
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants