19 To-Do App - ['Symfony 5.1', 'React', Material UI'] - React Router + Symfony Route & Symfony 5.1
HTML-код
- Опубликовано: 12 сен 2024
- VIDEO BRANCH: router
GITHUB: github.com/San...
See the differences:
github.com/San...
In this video series I'll be going over how to make a basic to-do app using React, Symfony and Material UI.
In this episode I will show you how to implement React Routing together with symfony's strict routes. I will show you how to always land on a 404 page when a route doesn't match and how to still allow your API routes to work after the implementation.
You will need to add react-router-dom so please use:
yarn add react-router-dom; to install the required components.
If you want to follow along with this series from start to finish I recommend using the playlist for this series: • To-Do App - ['Symfony ...
Information▼
Upgrade Doctrine 2.* to 3.0.*: github.com/doc...
NavLink DOCS: reactrouter.co...
Link DOCS: reactrouter.co...
Symfony Route Priority: symfony.com/bl...
Plugins▼
plugins.jetbra...
Video Links▼
composer: getcomposer.or...
Symfony: symfony.com/do...
PHP: www.php.net/do...
GIT:git-scm.com/do...
SQL Workbench: dev.mysql.com/...
JETBRAINS Student Program: www.jetbrains....
Yarn: yarnpkg.com/en...
Instagram: / sandercokart
@SanderCokart
Twitter: / sandercokart
@SanderCokart
Join the Discord Community?
/ discord
AND tell me me what you think of the video PERSONALLY!
(If you want)
FAQ▼
1drv.ms/b/s!Al...
#Symfony #React #Tutorial
This was the first place I could find that described the annotation for reactRouting and using priority = -1.
I was about to give up on react because I kept getting a symfony "route not found" error everytime I tried to enter "/some/route" other than "/" but then I found this video!
The "priority" and "requirements" totally saved my day!
Hi Sander! Great tutorial and really helpful. Keep going!
Thank you! You’re welcome!!
Hello Sander I´ve followed all your list videos. I ´ve learnt a lot actually and I would really apreaciate if you would make another video but now with the login implementation.
Many Thanks!
Login I've never got to work. I switched to Laravel instantly
SPA Synfony login is a bitch. You could use JWT but it's not very stateless
You sir are awesome I've learned so much from your videos! Keep up the good work!
Thank you man, you don't know how much that means to me ❤️
Great video! Glad to have found you channel!
Thank you!
@@SanderCokart i have un question which one architectural you use REST API ? or WEB API ? thanks
Thanks for series. Could you please make video about sever side rendering SSR with symfony and react ? I will very appreciate
ziat _ziat i don’t know enough about ACTUAL server side rendering. But I’d love to include everything within the series plus it’s far from done. I am just extremely busy.
Hi mate, great course!!
Will it be continued?
Cheers!!
Nice. Cloned the repo, so I could play around with your code, as I'm currently trying to setup the same stack (Symfony + React). I'm confused, though, as to how you've made use of the TodoType.php file when the JS is handling the form entry.
I stopped using it. Also....I am completely converted to Laravel now 😂. Someone from Symfony development team follows me maybe he can teach me Auth but until then I use Laravel. Also this tutorial series is dead in the water without me knowing wtf I'm gonna do. I changed alot since last video. But yeah need to learn PROPER auth.
@@SanderCokart The Symfony Casts series on Authentication is great. React Router is pretty much one of the few things they haven't covered. I've looked at Laravel. It uses a lot of Symfony anyway apparently.
@@XiagraBalls I found it terrible for react users for auth.
i have un question which one architectural you use REST API ? or WEB API ? thanks
Hi Sander, i use Symfony to develop web apps and am thinking about using react with it, does that make a big difference ? i mean we can already use twig for Front-end. Is there any easy and correct way to move variables from php controller to our React components without using API's ?
Inertia
@@SanderCokart i have un question which one architectural you use REST API ? or WEB API ? thanks
how can I deploy the project on hosting ??? how to configure .htaccess for project ?
Григорий - still figuring it out. I use shared hosting So it might be a bit more difficult for me. Please do allow me to have to time because I am extremely busy
how we can use react in a symfony classic project without api rest
Uh...same way probably? Rest is only a choice
What is that PhpStorm Theme?
Material theme