houdini-svelte-load-fn-error Svelte Themes

Houdini Svelte Load Fn Error

This repo is created to reproduce error with Svelte load function and Houdini GraphQL library

Reproduce error with Houdini and Svelte load function

Start the project

Get pnpm

npm install --global pnpm

Install dependencies

pnpm install

Start command

pnpm dev

Steps to reproduce

Once you started the project, you should see the following error:

Multiple exports with the same name "load"
11 |  }
12 |
13 |  export const load = exampleLoadFunc();
   |               ^

The symbol "load" has already been declared
11 |  }
12 |
13 |  export const load = exampleLoadFunc();

Top categories

Loading Svelte Themes