skip to Main Content

Reactjs – Changing Localhost

i am a beginner (i don't even know how to ask the question correctly) and i try creating my first clone website as a project with the help of youtube tutorial and everything went well but i have one issue…

VIEW QUESTION

Reactjs – Storybook for react cant see my components

When I run my storybook sometimes my components are missing. So I have "... New folderworkingtestwithpawelsrccomponentsAi4Process_mylib_test2demo.stories.tsx" But storybook won't see the file Here is my .storybook/main.js which defines where to look for stories. /** @type { import('@storybook/react-webpack5').StorybookConfig } */ const…

VIEW QUESTION

Reactjs – TS2345: Argument of type 'AsyncThunkAction<void | AddItem, ItemInput, AsyncThunkConfig>' is not assignable to parameter of type 'AnyAction'

In my slice, I have defined the action to be as follows: https://github.com/jasonabanico/RedGranite/blob/main/src/Client/RedGranite.Client.Web/src/app/containers/ItemPage/itemPageSlice.ts export const addItem = createAsyncThunk( 'itemPage/addItem', async (itemInput: ItemInput) => { return await itemService .addItem(itemInput) .catch((err: any) => { console.log("Error:", err); }); }, ) I have also…

VIEW QUESTION
Back To Top
Search