testing-library-docs icon indicating copy to clipboard operation
testing-library-docs copied to clipboard

Discussion: Reduce flavored pages (React, Vue, Cypress,…) to its bare minimum?

Open afontcu opened this issue 5 years ago • 2 comments

I wanted to know your opinion on reducing each flavor section, so that we have some "big" pages about queries, common use cases, and so on, and then other React/Vue/Cypress/Svelte pages with the specifics for each framework.

All implementations are quite similar, so we could have a heading for each big difference with an example.

I'm not 100% sure this is the best approach, so feel free to suggest any other idea :)

afontcu avatar Jun 02 '20 21:06 afontcu

Maybe docs for frameworks could be as simple as Cypress' https://testing-library.com/docs/cypress-testing-library/intro

afontcu avatar Jun 02 '20 22:06 afontcu

Maybe docs for frameworks could be as simple as Cypress' https://testing-library.com/docs/cypress-testing-library/intro

I think that having one page per framework is a great idea, but IMO looking at React framework as an example, it has some good knowledge I believe shouldn't be removed, especially within the FAQ and Setup section. I do agree that most users won't read the "advanced" part but I think they do have an impact an affect. Maybe a base page and an advanced one can reduce the amount of pages, still not sure how I feel about that 🤔

MatanBobi avatar Jun 03 '20 05:06 MatanBobi