8
9 Comments

Next.js Examples site: would you use it?

I love Next.js, and I feel as if the examples in their Git repo, while good, could use more explanation, and even more examples. So I'm considering throwing together a quick website that will have gradually more and more small examples of how to do XYZ with Next.js.

Each would have a link to a GitHub repo, a brief breakdown of the important concepts, and a working demo.

I'd build off some of the demos from the actual Next.js and give them more explanation, then add other things, like how to build various SaaS features or implement programming concepts with Next.js. Each example would be very focused on one thing.

Thoughts on this? Any feedback is appreciated.

on October 8, 2020
  1. 6

    We've been thinking about something like this, but directly in the documentation. Right now, the "examples" folder is more focused on showing integrations with third-parties, instead of examples of specific Next.js features (or React). For example...

    • How do I share a layout across all pages?
    • How do I configure my site for sharing on social media?
    • How do I generate a sitemap?
    • How do I create a single-page app Next?
    • How do I do authentication?

    And so on. This would be a really amazing contribution to the docs if you're interested in helping out! Feel free to DM me or email ([email protected]).

    1. 1

      Yes! I would much rather see this in the Next repo than a 3rd party.

    2. 1

      Haha I replied your Reddit reply first @leerob. I’ll definitely reach out!

  2. 3

    I think that would be super helpful! You might chat with @leerob!

  3. 2

    Just post it immediately 😀😀

  4. 2

    I’d be interested. I’m currently using Gatsby but heard a lot of good things about Next and would like to check it out.

    1. 1

      Gatsby is great too! But it's only for purely static sites. So it's great to know Next for when you need to connect to real data or do anything more elaborate.

  5. 2

    Good idea ! The examples in next.js repo are very good but a repo with differents features used in SaaS website will be very usefull ( auth , stripe subscription integration , cypress , jest , etc ) .

  6. 2

    Yeah I'd find this very useful!

Trending on Indie Hackers
Your SaaS Isn’t Failing — Your Copy Is. User Avatar 61 comments Solo SaaS Founders Don’t Need More Hours....They Need This User Avatar 49 comments Planning to raise User Avatar 22 comments No Install, No Cost, Just Code User Avatar 20 comments The Future of Automation: Why Agents + Frontend Matter More Than Workflow Automation User Avatar 14 comments AI Turned My $0 Idea into $10K/Month in 45 Days – No Code, Just This One Trick User Avatar 13 comments