v2.svelte.dev icon indicating copy to clipboard operation
v2.svelte.dev copied to clipboard

Proposal: FAQ section

Open Conduitry opened this issue 7 years ago • 1 comments

I was thinking a while ago about the possible benefits of having a frequently asked questions section in the docs, apart from the main guide. This would be sort of a relatively easy patch without having to rethink the guide to make it more digestible to newcomers.

Probably a good amount of the questions would be things like 'how do I do X' and the answer would be 'you don't, instead do...'. Questions with these sorts of answers come up not infrequently, even though theoretically they are all already answered in the guide. 🙃

Some recurring questions off the top of my head:

  • How do I call component methods from the template?
  • How do I pass callbacks to child components?
  • How do I get the parent component's instance?

Conduitry avatar Oct 09 '18 23:10 Conduitry

I like that, although a FAQ is more apt to generic questions like #366 maybe?

I was thinking about something very similar lately, a page with use cases ("How do I do X?"): these would perfect with integrated REPLs.

mindrones avatar Dec 02 '18 20:12 mindrones