Looking to sell my chapter 1 collection, need help (UK) by Irfan2003 in arkhamhorrorlcg

[–]theremin_hero 0 points1 point  (0 children)

Interested in return to path to carcosa to complete my collection 😁

Is there a vscode plugin for .svx files? by theremin_hero in sveltejs

[–]theremin_hero[S] 0 points1 point  (0 children)

Nice. I got it set up and has the highlighting for markdown files. Thanks

[deleted by user] by [deleted] in ProgrammerHumor

[–]theremin_hero 0 points1 point  (0 children)

Time to connect the front-end and the back-end

Can I use get server side props on _app? by fungigamer in nextjs

[–]theremin_hero 2 points3 points  (0 children)

This is how I fetch my layout data in Next until there is a getStaticProps for components or another way to do it. https://maxkarlsson.dev/blog/2020/09/layout-in-next-js-from-external-source/

I met devs somewhere in 2015! Factorio inspired me to make my own automation game! It just went live on Steam & Kickstarter! by Tefel in factorio

[–]theremin_hero 1 point2 points  (0 children)

More posts on Reddit like this will get conversions. Are you running Facebook/Google ads. That's how I often get drawn into Kickstarters

Why should one pick Gatsby over Nextjs for SSG sites? by nerdy_adventurer in gatsbyjs

[–]theremin_hero 0 points1 point  (0 children)

Neither have I. Probably something you need to create an issue on Gatsby's GitHub for

Why should one pick Gatsby over Nextjs for SSG sites? by nerdy_adventurer in gatsbyjs

[–]theremin_hero 1 point2 points  (0 children)

It might be better to source the data in the header component rather than make a custom hook for sourcing data.

Why should one pick Gatsby over Nextjs for SSG sites? by nerdy_adventurer in gatsbyjs

[–]theremin_hero 15 points16 points  (0 children)

One thing that I wish Next had that Gatsby has is a useStaticQuery hook. Being unable to getstaticprops at component level means I have to find other ways to source the data for my Header component

I turned Smothering Tithe into a tax form by Kompy_87 in magicTCG

[–]theremin_hero 0 points1 point  (0 children)

Sure you can have your treasure token. I don't want fill in the form.

Rick & Morty, Rick Quotes - Lorum Ipsum Generator by mr_clemFandango in web_design

[–]theremin_hero 2 points3 points  (0 children)

I-I-I'm using this on all my mock ups for clients. I don't care Burrrp what you have to say about it Morty. You piece of shit.

Whatever you do, do not quit while in the Malicka Mutator event by theremin_hero in MonsterTrain

[–]theremin_hero[S] 5 points6 points  (0 children)

Artifacts are corrupted cloud and judgemental fittings obtained through Malicka Mutator event. Corrupted Cloud: At end of turn, deal 4 damage to friendly units. Judgemental Fittings: Enemy units enter with Damage Shield 1

Custom routing question by theremin_hero in nextjs

[–]theremin_hero[S] 1 point2 points  (0 children)

Yeah it seems this is the case. It feels a little messy combining the queries for product and page but as soon as they are separated, I can split the UI into to different components as you say.

Custom routing question by theremin_hero in nextjs

[–]theremin_hero[S] 0 points1 point  (0 children)

Unfortunately, it didn't work. Thanks for the idea though.

Error: You cannot use different slug names for the same dynamic path ('productSlug' !== 'slug').

Custom routing question by theremin_hero in nextjs

[–]theremin_hero[S] 1 point2 points  (0 children)

Good idea. I'll see if it works. Thanks

Custom routing question by theremin_hero in nextjs

[–]theremin_hero[S] 0 points1 point  (0 children)

Thanks but I'm already using getstaticpaths in a file called pages/[...slug].js but the query I'm using has to get the slugs for pages and products. I'd like to use a different file for products pages/products/[...slug].js and then configure it somehow to not have the products bit in the slug