wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
13.74k stars 1.18k forks source link

Create a place to share solutions for common problems #1889

Open infomiho opened 8 months ago

infomiho commented 8 months ago

I find myself creating gists to answer people at Discord that have common problems.

Here are the gists I created:

  1. @fontsource imports and Vite not allowing imports
  2. Using Wasp with Radix UI
  3. Uploading files with Wasp (needs updating to 0.12)
  4. Using Wasp with Caprover
  5. Using Websocket namespaces

It would be nice to have a place in the docs or a separate site (maybe a Wasp app) that could enable us to quickly create these recipes for commonly asked questions! I'm not sure if it should be in the docs because it's much more "relaxed" to just put stuff in a gist vs. created high quality docs. A lot of the time these examples are one off help for some specific question.

One thing it can be, a separate repo with a bunch of examples as well, something like the examples dir we have now, but a separate repo so it's not tied to our release cycles?

Martinsos commented 8 months ago

Maintainance is always hard.

Some of these should be solved by better docs, and examples in docs.

But recipes make sense to me! I would probably just have them in the docs though. And maybe not even under "Recipes", but under their respective stuff, for example if it is about websockets, then under Weboscket part of docs.

infomiho commented 7 months ago

First step: https://github.com/wasp-lang/learning-materials/