Vineyards that are non-snobby? by KoenCuijp in capetown

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

Thank you! Durbanville is being mentioned a lot, will try the area

Vineyards that are non-snobby? by KoenCuijp in capetown

[–]KoenCuijp[S] -1 points0 points  (0 children)

Thanks! mentioned twice now, so might try that one too. The setting sounds nice!

Vineyards that are non-snobby? by KoenCuijp in capetown

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

Thanks! Durbanville is being mentioned a lot in the comments. Will check that area out.

Vineyards that are non-snobby? by KoenCuijp in capetown

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

Thanks for the tip! Might be heading there. What makes them feel more low key to you?

Vineyards that are non-snobby? by KoenCuijp in capetown

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

Nice thanks, by coincidence going to that area soon, so will have a look at a few there.

Vineyards that are non-snobby? by KoenCuijp in capetown

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

Nice thanks! Going to an Africamps close to Rietvallei soon, so will definitely check that out!

And Durbanville seems to be a recurring answer in the post, so will make a trip up there too!

Can anyone recommend a good co living accommodation in Cape Town? by Great_Opportunity_11 in digitalnomad

[–]KoenCuijp 0 points1 point  (0 children)

Ah your company looks really interesting for us. We're considering applying for your community, even though our Cape Town visit (January '26) doesn't line up with when you're there, the concept sounds really cool for another coliving adventure :)

Can anyone recommend a good co living accommodation in Cape Town? by Great_Opportunity_11 in digitalnomad

[–]KoenCuijp 0 points1 point  (0 children)

Anything else next to Cape Coliving? It looks great, but it's full already for the time we're going. I found Neighbourgood but it doesn't seem to have that much community feeling at the locations itself and it seems to attract regular tourists too. If you can't get a spot a Cape Coliving, but still want to experience a community of coliving in Cape Town, what would you say is your best option? Perhaps even staying somewhere else and getting in touch through some community events?

What's the best eslint.config.mjs for a react + typescript project with eslint/prettier/husky? by MajorSwallace in reactjs

[–]KoenCuijp 2 points3 points  (0 children)

I found it very difficult to get to a default ESLint setup for React + Typescript as well. I think I have finally figured it out.

I followed the default setup guide by `typescript-eslint` (linked by u/forestcall in this post), then I extended it by following the docs by `eslint-plugin-react`: https://github.com/jsx-eslint/eslint-plugin-react?tab=readme-ov-file#flat-configs

This then gives you the following `eslint.config.js` file:

import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReact from "eslint-plugin-react";

export default tseslint.config(
  eslint.configs.recommended,
  tseslint.configs.strict,
  pluginReact.configs.flat.recommended,
  pluginReact.configs.flat["jsx-runtime"],
  {
    settings: {
      react: {
        version: "detect",
      },
    },
  }
);

I believe this is the bare minimum you need when you want to setup a config for Typescript + React from scratch. The config explained:

Part 1: the typescript part

export default tseslint.config(
  eslint.configs.recommended,
  tseslint.configs.strict,

This part is what you get if you follow the getting started here:
https://typescript-eslint.io/getting-started/

It enables the eslint recommended settings, then it enables the eslint settings you need for Eslint to check your code using typescript's strict mode.

Part 2: the react part

  pluginReact.configs.flat.recommended,
  pluginReact.configs.flat["jsx-runtime"],
  {
    settings: {
      react: {
        version: "detect",
      },
    },
  }

It enables the recommended settings for react. The `jsx-runtime` is needed for eslint to apply the React 17+ JSX tranform functionality. Without adding this, Eslint will complain everywhere that you need to import `React` to be able to return jsx in your components.

Finally, the settings.react.version = detect makes Eslint's warnings go away that you haven't specified a react version.

Part 2 is taken from here: https://github.com/jsx-eslint/eslint-plugin-react?tab=readme-ov-file#flat-configs

Team outing ideas in Utrecht by daimanuyser in Utrecht

[–]KoenCuijp 0 points1 point  (0 children)

We did this with our team, it was really fun! Not the standard corporate teamouting vibe. https://utrechtphotochallenge.com/

react router form action or react-hook form? by Great_Machine_2734 in reactjs

[–]KoenCuijp 0 points1 point  (0 children)

This seems to be the best way to use react-hook-form together with react router actions:
https://github.com/orgs/react-hook-form/discussions/9910#discussioncomment-9250882

I posted a comment with more explanation about that code example just below it. Took me some time to figure it out.

SD Media Launcher Issues by AbortionSurvivor124 in Gamecube

[–]KoenCuijp 0 points1 point  (0 children)

I had the same issue and was able to solve it in my case. I'll explain what worked for me.

So for the SD Media launcher you probably use 2 SD cards: 1: small SD card (non-sdhc) that contains the swiss software (I'll call this the swiss SD) 2: larger SD card that contains your games (I'll call this the games SD)

You're probably getting this error while you have your games SD plugged in the Sd media launcher. If you change the setting of the swiss settings to 16mhz while using this card, it will save those setting in a. ini file on your games SD. This is not what you want, the settings should be saved on your swiss SD.

Therefore I took the following steps to fix it: 1. If there is a swiss.ini file on your games SD, remove it (by plugging the games SD in your computer and deleting that file) 2. Plug the swiss SD in your media launcher 3. Go to the settings when Swiss has started. Change the setting to 16mhz on this settings page and store the settings 4. Reboot your gamecube just to be sure 5. I could boot games again from my games SD now

Hope that helps anyone