REACT FLUX TUTORIAL #14 – React & Flux Memory Leaks



React Virtual DOM helps you avoid a lot of memory leaks, but they still can happen. Here's what memory leaks are, how they show up in a React JS Flux application and how to solve them when they happen.

GET THE SOURCE CODE:
https://github.com/learncodeacademy/r...

React JS #1: Intro & Workspace Setup
https://youtu.be/MhkGQAoc7bc (Coming Tues, Feb 2@11CST)

React JS #2: Anatomy of a Component
https://youtu.be/fd2Cayhez58 (Coming Wed, Feb 3@11CST)

React JS #3: Composing Multiple Components
https://youtu.be/vu_rIMPROoQ (Coming Thurs, Feb 4@11CST)

React JS #4: State, Props & Data
https://youtu.be/qh3dYM6Keuw (Coming Fri, Feb 5@11CST)

React JS #5: Events & Data Changes
https://youtu.be/_D1JGNidMr4 (Coming Mon, Feb 8@11CST)

React JS #6: React Router & Intro to Single Page Apps
https://youtu.be/olLI54FATb8 (Coming Tues, Feb 9@11CST)

React JS #7: React Router Params & Queries
https://youtu.be/ZBxMljq9GSE

React JS #8 - React Inline Styles & Component Arrays
https://youtu.be/XVdwq8W2ZsM

React JS Flux #9 - React Flux Tutorial
https://youtu.be/PvjNglsyOHs

React JS Flux #10 - Flux Store Events (Coming Mon, Feb 22@11CST)
https://youtu.be/bvEC6i7CUyE

React JS Flux #11 - The Flux Dispatcher (Coming Tues, Feb 23@11CST)
https://youtu.be/MZfCVq5iCBw

React JS Flux #12 - Flux Actions (Coming Wed, Feb 24@11CST)
https://youtu.be/0yW7C22ooos

React JS Flux #13 - Async Flux Actions
https://youtu.be/CuYd9uDB0vg

React JS Flux #14 - React Flux Memory Leaks
https://youtu.be/Fgd2ivSnXXo

code source

  • Is there a library that you have found helpful for form validation? Without one I can see that there would be tons of duplicated code in each form and component.´╗┐

    View Comment
  • Hey man i love your videos! ­čśë
    Can you make video about Electron and how to build a desktop app with that?!´╗┐

    View Comment
  • Did you postpone redux video? You were telling since 3 weeks that the redux videos will be rolling this week. Please reply. I am awaiting your redux video.´╗┐

    View Comment
  • And would be very useful video about how to connect css files to get different styles :)´╗┐

    View Comment
  • Check this decorator out for auto binding functions: https://github.com/andreypopp/autobind-decorator

    It's especially handy for React!´╗┐

    View Comment
  • are you gonna put passport authentication on this puppy?´╗┐

    View Comment
  • Could you make tutorial about forms with React? your tutorials are best so far , thanks, you are awesome !!!´╗┐

    View Comment
  • This series is awesome! Will there be a episode about server side rendering in the future? Because I start a new project soon and I'd like to use react, but I'll also need to serve some html google can work with …´╗┐

    View Comment
  • Is Redux videos coming after 1 month ?´╗┐

    View Comment
  • Great tutorial series man. Loving React, coming from Angular with Laravel as the API. Just trying to figure out whether to use React & FLUX or React & Express. Would love some peoples thoughts here?´╗┐

    View Comment
  • You are really great….men´╗┐

    View Comment
  • any input on using Meteor as a backend for React Flux?´╗┐

    View Comment
  • I want you to know that you are the BEST web dev tutor, period. Loved all the videos I have watched so far, they are all amazingly good and crystal clear. I was wondering, being new to the web dev world and many options to learn this skill, what do you think of the immersive code schools? can you please share your wisdom on this topic. And finally a small video on bash it as you have mentioned in the Github tutorial 2. Thank you my friend.´╗┐

    View Comment
  • When shall we expect for redux videos? Are you doing a huge project ?´╗┐

    View Comment
  • too long wait for march new tech video.. I love you for that´╗┐

    View Comment
  • Thanks for the great video series. Been playing your videos, pausing and programming the examples myself, and then playing again. Really helpful and I feel like I'm learning a lot!´╗┐

    View Comment
  • Great series. Are you planning to make it isomorphic with Express or Koa?´╗┐

    View Comment
  • This is a great series of videos. Thanks for sharing your knowledge. Do you have plans to make a video about Full stack with Node, Mongo and React?´╗┐

    View Comment
  • When is redux tutorial coming? Please please reply . I can't wait for redux tutorial covering most topics and brushing off all the confusions .´╗┐

    View Comment
  • Hi, I found your tutorial really amazing. Can I use Reactjs together with Codeigniter?´╗┐

    View Comment
  • Best free tutorial about react, on the net, thank you!!

    Will be more?´╗┐

    View Comment
  • You are the best.´╗┐

    View Comment
  • Nice video. Also can you do a video on meteor.js it is really awesome and I bet you will love it!´╗┐

    View Comment
  • When is your Redux tutorials coming live? Your explanation are so clear and you are so actively sharing your knowledge. Cheers!´╗┐

    View Comment
  • How do you handle authentication in the page routing? ie. when user requests a path, how do you reject the request if the user is not authenticated yet, and redirect them to a login page or something instead…?´╗┐

    View Comment
  • when will you relesase a video in which you will explain waitfor?
    and are you planing to show some database stuff?´╗┐

    View Comment
  • Hi, thanks for your great videos! I'm finally going to get into React because of them. (1) Can you make a video on axios to show some clean examples. And also, (2) is there a better folder structure for enterprise projects to split up via modules (ie. instead of ToDo being in 4 folders, you group them together in a single folder)? (3) Have you experience combining with BreezeJS (or another Entity/localStorage db manager)?´╗┐

    View Comment
  • Great channel!! I love to watch this… just set speed to x2 and fly! currently it's the best tutorial for React.js on YouTube!
    you explain very well and I'll love to see "full example episode" at the end and hopefully more series´╗┐

    View Comment
  • How many videos will this series finally have? Thanks for the time do do your tutorials, IMO they're the best on the internet right now.´╗┐

    View Comment
  • Once again, great tutorial. One question: does using Redux automatically solve the memory leak problem you mentioned here? I started playing with Flux first then moved on to Redux, which greatly simplifies the interaction among stores, actions, and dispatchers. But I'm not┬áreally clear what's going on under the hood.´╗┐

    View Comment
  • +EGN SHOCK has mentioned about login system, and I would love to see how ReactJS handles roles/permissions. Do I have to call my API to check if user is allowed to see some X everytime or there is a better way? Keep this video idea in mind, I think many of us will enjoy seeing how to integrate reactjs with some backend.´╗┐

    View Comment
  • can you do a php/SQL sign up and login system with user info encryption´╗┐

    View Comment
  • So the whole "old" Component will get deleted right? It is a bit irritating because we just say "do not listen to the event anymore".´╗┐

    View Comment