This course is archived!
While the concepts of this course are still largely applicable, it's built using an older version of Symfony (4) and React (16).
React with Symfony
Unlock your potential with our React & Symfony tutorial. Learn JSX, state management, and API calls.
- 4378 students
- EN Captions
- EN Script
- Certificate of Completion
Your Guides
About this course
ReactJS! Woohoo! With ES6 and webpack behind us, we can finally have some serious fun! In this course, we'll introduce ReactJS, get it working through Webpack and starting building a real application. Yes, a real application! We'll identify a set of strategies & best practices to follow to put this super powerful tool under your control!
- Components & React Architecture
- Jumping into JSX!
- All about props & state
- The component data from: from top to bottom
- Actual best-practices for creating sane apps
- Smart/container vs Dumb/presentation components
- PropTypes!
- Tricks for managing state without mutating it
- Making API Calls back to Symfony (and authentication) with fetch
- Working with server-side validation
- Handling collections in React
- Dealing with forms (refs vs controlled inputs)
return (
<ReactJSSymfonyTutorial onWatch={this.handleMadNewSkills}
)
88 Comments
Still can't wait for this course. But I said that too a few months ago... So the parameters are wrong and I can wait... But not this time
Can't wait :D
Haha, that was funny ;)
Sorry for delaying this tutorial, but right now we are focused on releasing Symfony4 tutorials, I hope you can enjoy them as well
Cheers!
Do you guys have a timeframe when this course will be released?
Hey Greg,
Unfortunately we don't have strict timeframes, but I think this course will definitely be released after Webpack Encore one, on which we're working on right now. The reason is that we need Webpack Encore for ReactJS course. Thanks for your patience!
Cheers!
Hi,
This course is always planned ? ^^ i've seen thoses for JS and still planning sinces 2 years, maybe nearly three ^^'
Hey Christophe,
You're right, haha. This course was frozen... but Ryan recently have started to work actively on it, so we really will have it soon ;)
Cheers!
Hey guys,
Sorry for the delay, unfortunately we don't have a specific release date for this course yet and were releasing a few other non-JS tutorials lately. But anyway, this course will be released only after the "JavaScript for PHP Geeks: Webpack for Module Loading Awesomeness" course. You may press "Notify me when course is available" button to be notified as soon as possible.
Cheers!
Hey @Andrew
I can't give you a specific release date, but what can I tell you is that this course is not frozen anymore!
You can subscribe to our mailing list, or click on "Notify me.." button, so you receive an email as soon as this course is published.
Cheers!
I arrived too late for this very interesting course, today with symfony 6.3 how valid is this course still ? Thank you
The integration between Symfony and React it's almost the same. Actually, it got simpler thanks to Webpack Encore. On the other hand, you may find some old ways of working with React because React changes too quickly, although, I'd say the majority of the concepts are still relevant
Cheers!
Is this course up to date or am I better of learning React from some newer courses? If it is up to date should I do this track first before starting this course -> 'Track Learn JavaScript'? Thanks.
Hey Maciej J.!
This course is definitely showing its age - it should likely still give you a solid foundation for React, but it was written a few years ago, so it will lack some of the newer features and likely best practices. The code itself (if you download the course code) is also now quite old, and won't work on newer versions of PHP. But if you have questions along the way, we can help :).
About the JavaScript track, even though they are also now a few years old, I still think https://symfonycasts.com/sc... and https://symfonycasts.com/sc... are *awesome*. These will give you foundation and insight into parts of JavaScript that will be useful no matter what you do. They aren't "intro to JavaScript" courses, but rather help get your understanding deeper into how JS works, event propagation, the weird "this" keyword, etc.
Let me know if that helps! Cheers!
Hi,
Should I learn React on it's own before starting this? This course sounds like it only connects the 2 together and it seems prior knowledge is needed(?).
Hey Kevin
You can watch this course even if you're new to React. As you said, this course connects both things (Symfony & React) but you'll be able to apply all of the concepts outside from a Symfony app if you desire. The only thing that would change is the setup because this course relies on Symfony Encore
Cheers!
Hey guys,
Thank you for so much great information!
I would like to know how you would refactor shared code included in webpack.config.js
with this line: .createSharedEntry('layout', './assets/js/layout.js')
since it does not work with .splitEntryChunks()
. Would you import layout.js
to each entry point?
Hey Skylar!
Sorry for the super slow reply - this got on my list... and I got busy 😇
It depends... on what's inside layout.js :). The short answer is that each entry should import all the stuff that it needs. I typically have one normal entry called "app", which is my "layout" entry - contains any CSS and JS that I need globally. I include this in each page. Then, for my other, page-specific entries, I do not import "app". Instead, I import whatever code I need to get my job done. If the "app" entry and other entries both import the same code, then it may get "split". Also, back with the shared entry, you were "incentivized" to import libraries inside your "layout" entry that you maybe didn't even need in that specific entry, but that you knew would be used by other entries and you wanted that code to be "shared". With the splitEntryChunks(), that's not the case anymore: make each entry/file as lean and mean as you can (only importing the stuff you really need) and let Webpack figure out the splitting.
Let me know if that helps!
Cheers!
Hey Chen,
Yes, we do have VueJS on our TODO list, but unfortunately we don't have any certain plans when it might be released, most probably next year when we'll release new JS courses so this one would be the 1st in the queue I think :)
Meanwhile, your vote for this course is counted. Thank you for your patience!
Cheers!
Can you tell me (approx) when the ReactJS (with Symfony) course will be completely done ?
Hey Vinny,
I can, but approximately :) We're trying to release a video every day, but we do not release videos on weekends. And it's about 25 videos are left until the end. So, this course should be completely released in 5-6 weeks, but once again, it's approximately. Thanks for your patience!
Cheers!
Hi guys, any chance you will cover using React Native for mobile app development with a Symfony endpoint?
Yo Greg!
Hmm, I don't think we'll talk about React Native... but if there's some specific question/problem that you're wondering about related to the Symfony endpoint/API and how it would communicate with React Native (e.g. authentication) ... that might be interesting. Let us know!
Cheers!
Hey Juan,
We don't have a release date yet, but this course will be released *after* the one about Webpack. We're working on EasyAdminBundle and Ansistrano tutorials right now, so the next should be a few JS tuts, but anyway Webpack course will be first.
Cheers!
Hey Symfony Reacter,
We're almost there :) Right now we're finishing ES6 tutorial and then we plan to start working on ReactJS stuff. You can press "Notify me when course is available" button and stay tuned with us ;)
Cheers!
Ha! It'll be a bit longer, sorry :). We have Ansible, PHP7 and webpack tutorials coming first! But, I *really* am excited to get to this one...
Hey Romolo,
It will come out after "JavaScript for PHP Geeks: Webpack for Module Loading Awesomeness", but before we're about to release EasyAdminBundle course. We also have a roadmap of upcoming screencasts in case you're interested in it: https://knpuniversity.com/c...
Cheers!
Hey Guys ! Looking forward for this course.. almost every month I come here to check if is available !!
Let's do it !!
Thanks
Thanks for your patience - sorry this one has been slow O:)
Hi Victor!
We'll start work on the Webpack tutorial very soon, then this will be after. Unfortunately, this tutorial may still be a couple months away. But, I'm going to do my best!
Cheers!
:) I'm definitely interested in this. React first... then we'll see what interesting things we can do from there
Please rush it, I want to see this course, so badly.
I hope you will treat in some detail the authentication part, which I'm curious in. Will you store the JWT in localStorage or in a cookie, as I think that you will use JWT for authentication?
Hey Burak,
We start releasing Webpack course this week. Actually, the first release will be today :) Then we'll start working on this one about ReactJS. We can't start with it until Webpack course is released, because most probably we will need Webpack features in that course. So you can track Webpack release to see the progress.
Cheers and thanks for your patience!
Looking forward for this course and get the best of React+Symfony! Thank you Ryan and your team for teaching us to go further and further with so much enthousiasm.