Комментарии:
hello bro
i really like your video explaining rails tutorial
but can you please reorder you playlist video by splitting rails 5/6/7 or something easier to track videos continuously . thank gor your time sir
There is a way to make the frontend and the backend run in the same port?
ОтветитьI am getting this error on Posts.tsx "Argument of type 'AsyncThunkAction<any, void, AsyncThunkConfig>' is not assignable to parameter of type 'AnyAction'." ?
ОтветитьThanks for this video, it was really very good. is it possible to use the rails views just to have an interface to manage the database but have the central front end in react?
Ответитьawesome thanks a lot
ОтветитьI would appreciate if you could help me understand the error and how to correct it
ОтветитьI don't understand why if I did everything the same, why does it give me that error
ОтветитьERROR in src/features/posts/PostForm.tsx:18:14
TS2345: Argument of type 'AsyncThunkAction<any, PostFormData, AsyncThunkConfig>' is not assignable to parameter of type 'AnyAction'.
16 | }
17 | }
> 18 | dispatch(createPostAsync(formData));
| ^^^^^^^^^^^^^^^^^^^^^^^^^
19 | resetState();
20 | }
21 |
ERROR in src/features/posts/Posts.tsx:16:14
TS2345: Argument of type 'AsyncThunkAction<any, void, AsyncThunkConfig>' is not assignable to parameter of type 'AnyAction'.
14 |
15 | useEffect(() => {
> 16 | dispatch(fetchPostsAsync());
| ^^^^^^^^^^^^^^^^^
17 | }, [dispatch])
18 |
19 | function toggleEditForm(post_id?:number) {
ERROR in src/features/posts/Posts.tsx:28:16
TS2345: Argument of type 'AsyncThunkAction<any, PostFormData, AsyncThunkConfig>' is not assignable to parameter of type 'AnyAction'.
26 |
27 | function submitEdit(formData:any) {
> 28 | dispatch(updatePostAsync(formData));
| ^^^^^^^^^^^^^^^^^^^^^^^^^
29 | toggleEditForm();
30 | }
31 |
I was doing your tutorial but it gives me 3 errors and 1 warning, I describe it below:
Ответить"I know any is frowned upon, but I don't hear anyone complaining right now."
Good one, hehe!
I am getting this error: Argument of type 'AsyncThunkAction<any, PostFormData, {}>' is not assignable to parameter of type 'AnyAction'. (also in Posts.tsx). Is this a redux-toolkit version issue?
ОтветитьHi mister excelent your post. Maybe you can help me with a detail of this tutorial 🙏
Ответитьcan i got code of this tutorial? Thanks
ОтветитьLearned a lot with this video!! Thank you 😊
Ответитьnice video, It will be that you can make a video of how to use devise with react
ОтветитьReally great tutorial Dean. Thank you!
ОтветитьLiked, subscribed, + algo comment! Just finished and this tutorial is great! Maybe use a noun with different plurals though haha. Thank you!
Ответитьte amo
ОтветитьDoes this works on Rail 6 as well ?
ОтветитьSimply the best fullstack tutorial I needed at this moment. Thanks a lot, Deanin!
Ответить