Meexa
Meexa
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Meexa on 5/7/2023 in #questions
How do I add "connect social platform" to my website? (not social login)
I'm not sure how to describe this feature. It's basically this from Twitch https://www.twitch.tv/settings/connections Has anyone implemented something like this before?
11 replies
TTCTheo's Typesafe Cult
Created by Meexa on 4/18/2023 in #questions
Does anyone know of a nice starting template for a React component npm package?
I want to make a React component and publish it to NPM but cba setting it up myself and invent the wheel again. Is there a nice starting point for this that I can use? Needs TypeScript of course. Maybe Vite or something for dev.
7 replies
TTCTheo's Typesafe Cult
Created by Meexa on 2/9/2023 in #questions
Back/forward browser buttons download my website instead of going there
This problem is so fucking weird, I don't even know where to begin. It happens both on local and on prod. It happens on all browsers. I'm using Next 13 app dir, maybe it's a bug? Does anyone have any clue or has experience this before? It happens on the homepage only. Copy this link and paste it in your URL bar, press enter, press back, then forward. Your browser will download a file called "en". https://www.wowvalor.app/en I have 1 redirect in my Next config for this route, although it also happens on /de, /es, etc
redirects: () => [
{
source: '/',
destination: '/en',
permanent: true,
},
],
redirects: () => [
{
source: '/',
destination: '/en',
permanent: true,
},
],
4 replies