-
Notifications
You must be signed in to change notification settings - Fork 421
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
Improvement: documentation of patterns/antipatterns #768
Comments
@igorlino This is a very good question. Did you find an answer? I couldn't find anything from the links provided. |
Using rails, i think they probably just wanted something that didn’t require node for ssr. |
Even better than having to read docs, Stencil provides an eslint plugin with the recommended patterns for working with the library https://github.com/ionic-team/stencil-eslint That package is sorely outdated, though, so it can't be used directly right now. |
This is a great point, and something that's been on the team's mind for the past few weeks. I'm going to move this to the Stencil site repo, which is where the documentation for the project lives. Thanks again! |
Stencil version:
@stencil/[email protected]
I'm submitting a:
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
Not necessarely clear what is an anti-pattern and what is a pattern
Expected behavior:
Easy doc to understand/reuse good patterns.
Easy doc to understand and avoid unwanted anti-patterns
Steps to reproduce:
Read https://stenciljs.com/docs/style-guide
Related code:
Other information:
I was reading in InfoQ the article GitHub's Journey with Web Standards and Web Components
And was wondering 2 things, why they did not consider Stencil ? Why did they have to do it themselves.
And then also reading their documentation I found 2 interesting parts
https://github.github.io/catalyst/guide/anti-patterns/
https://github.github.io/catalyst/guide/patterns/
I think documentation of such patterns/anti-patterns could have great benefit for the adoption of Stencil. I imagine from those one could create VisualStudioCode snippet pluggins to speed up even more.
The text was updated successfully, but these errors were encountered: