Setup React CRUD With Rails 7 API Crash Course (Ruby On Rails 7, Redux, TypeScript)

Setup React CRUD With Rails 7 API Crash Course (Ruby On Rails 7, Redux, TypeScript)

Deanin

2 года назад

18,333 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ami ne
Ami ne - 08.07.2023 19:10

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

Ответить
Alex Zambrano
Alex Zambrano - 17.05.2023 07:30

There is a way to make the frontend and the backend run in the same port?

Ответить
Ikr am
Ikr am - 29.03.2023 13:24

I am getting this error on Posts.tsx "Argument of type 'AsyncThunkAction<any, void, AsyncThunkConfig>' is not assignable to parameter of type 'AnyAction'." ?

Ответить
on the code
on the code - 10.03.2023 19:07

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?

Ответить
JJRousseau
JJRousseau - 16.01.2023 12:56

awesome thanks a lot

Ответить
Roelvis Coello
Roelvis Coello - 13.01.2023 19:07

I would appreciate if you could help me understand the error and how to correct it

Ответить
Roelvis Coello
Roelvis Coello - 13.01.2023 19:06

I don't understand why if I did everything the same, why does it give me that error

Ответить
Roelvis Coello
Roelvis Coello - 13.01.2023 19:05

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 |

Ответить
Roelvis Coello
Roelvis Coello - 13.01.2023 19:05

I was doing your tutorial but it gives me 3 errors and 1 warning, I describe it below:

Ответить
Rahul Sam
Rahul Sam - 04.12.2022 08:46

"I know any is frowned upon, but I don't hear anyone complaining right now."

Good one, hehe!

Ответить
Mariners_Platter
Mariners_Platter - 27.08.2022 10:44

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?

Ответить
Joel Rojas
Joel Rojas - 16.06.2022 01:50

Hi mister excelent your post. Maybe you can help me with a detail of this tutorial 🙏

Ответить
kashif tufail
kashif tufail - 07.06.2022 05:16

can i got code of this tutorial? Thanks

Ответить
Nad
Nad - 26.05.2022 18:19

Learned a lot with this video!! Thank you 😊

Ответить
Jorge Luis
Jorge Luis - 06.04.2022 06:34

nice video, It will be that you can make a video of how to use devise with react

Ответить
Michael Gibson
Michael Gibson - 31.03.2022 11:09

Really great tutorial Dean. Thank you!

Ответить
Sujio
Sujio - 11.03.2022 01:17

Liked, subscribed, + algo comment! Just finished and this tutorial is great! Maybe use a noun with different plurals though haha. Thank you!

Ответить
Lucas
Lucas - 03.03.2022 01:14

te amo

Ответить
w!1d3r
w!1d3r - 02.03.2022 04:18

Does this works on Rail 6 as well ?

Ответить
Randerins
Randerins - 14.02.2022 14:15

Simply the best fullstack tutorial I needed at this moment. Thanks a lot, Deanin!

Ответить