Skip to main content
View on YouTube to comment and like!

Syntax Video

React vs Vue - Real-time Data and Component Hierarchy

Chapter 1 0:00

Intro

hello there in this video I'm going to show you how I built this realtime stock dashboard in both View and react now this app allows you to add multiple symbols and it reaches out to the Yahoo finance API and then streams in these stock price updates over websockets and you can add as many symbols as you'd like and uh all of the prices stay updated across the page depending on where they're displayed like here here or in the chart and different things like that now if you're new here this is the syntax Channel my name is CJ I typically videos that dive deep into technical topics we also have a podcast that you should check out with Wes and Scott where they talk about webdev and other Tech related things and uh if you're interested in that kind of stuff definitely subscribe now in this video like I said I'm going to be comparing View and react and we're going to be talking all about the component hierarchies so we have a lot of different components here we have the form the charts the stock price info and Direction and I'm going to show you how I structured all of that hierarchy and then also we'll talk about how we can

share this real time data across our application now this is the fourth video in a multi-part series where I've been comparing the same apps built with both Vue and react so if you're interested in those check the link in the description well let's dive in my name is CJ welcome to [Music] syntax now first let's talk about how this app is broken up into components so at the top we have the stocks page itself below that there is a symbol Marquee component so this is the component that allows the latest stock price to scroll across the top and within that there is a symbol component and that is the stock symbol itself which displays the latest price and Direction and there would be multiple of those in there if there are multiple stocks displayed on the page below that we have the stock symbol form so this allows you to search for a stock symbol if it's found it'll allow you to add it to the page and then we start to receive real-time updates once the stock symbol has been added to the page we have a line chart component so this has that same symbol component inside it that

Chapter 2 1:17

Component Hierarchy

displays the latest price and Direction but below that is a line chart that actually displays the real data in a line chart as it's streamed in now because there are multiple components on the page that all need to receive these realtime updates I have structured my code to take all of that real-time logic and put it into a separate Library so this is actually completely framework agnostic I have a little file I call it Yahoo finance and I expose some methods that can be brought into any component to get access to that websocket connection and receive those real-time updates so there is an init method that gets called at the top level to make the initial connection to that websocket server from there the individual components that need updates can call the Subscribe method so they pass in the stock symbol name and a call back function and anytime there's a real-time update received over a websocket it calls that call back so this Yahoo finance module basically has a list of callbacks that it can invoke with the latest data and any component can subscribe to that and then of course there's an unsubscribe method as well so

Chapter 3 2:05

Web Socket Architecture

when a component gets unmounted or a stock symbol gets removed it's going to need to unsubscribe from updates for that specific stock symbol and then lastly we have a close method and so this gets called if the entire page gets unmounted so we actually disconnect from the websocket connection now the reason I've structured it this way is because when you're dealing with real-time data in front-end applications components Mount and unmount and render and render a lot and so if you were to try to hold this connection within the component hierarchy itself it could get very fragile could get very hard to manage and so this is a technique I've used used a lot which essentially takes all the things that have nothing to do with a component library and abstracts them out into their own module and so this is just JavaScript this could literally be used in any application but now that I have it structured that way I can start to hook up my components to use these methods and basically bring in that functionality to really any sort of front end framework so first let's take a look at the top level and see how that stocks page calls that init method in both View and react so here in react we

Chapter 4 3:50

Top Level init

have our stocks page and this component has a list of all the stock symbols that we want to display on the page and it keeps track of that so it adds and removes from this state variable but then that list gets passed down to the Marquee component so it can display all of the latest prices across the top and then we iterate over this list to display a line chart for each one of them now in order to initialize the connection to our websocket API we have a use effect and so a use effect with an empty dependency array will get called once when the component gets mounted so essentially when we navigate to this page we want to connect to that website socket server so inside of here I have Yahoo finance. init so under the hood this is connecting to that websocket API and then if we ever navigate away from this page we need to disconnect that websocket so we're calling Yahoo finance. close now here inside of view we have our stocks page we have a list of strings that are the symbols and we're using ref so this is our state variable here inside of view and then in order to initialize that connection to the websocket API we're using the on mounted life cycle method that comes

from vue.js so this is a built-in you can call it in any component and this will get called once when the component is mounted and so inside of here I have the call to yaho finance. init now when we navigate away from this page we want to disconnect so inside of view we have an on unmounted life cycle hook and we can pass in a call back here and so whenever this component is unmounted it will disconnect from the websocket connection now I've talked about this in previous videos but there is a caveat of using use effect inside of react if you are in strict mode so our app is wrapped here in strict mode and essentially that will show us errors early in development but it does a thing where it mounts and then unmounts your components in order for you to be able to catch bugs to make sure that you're disposing of things in the right way but the one issue with that is when I'm in development it is constantly connecting and then disconnecting from the websocket connection so here inside of react if I refresh the page you can actually see that we get an error in the console uh Firefox can't establish a connection to the server and then the connection was interrupted now we don't get that inside of VJs because our on mounted function is only called once and essentially

Chapter 5 5:18

React useEffect gotchas

what's happening in react is it's calling connect and then disconnect connect in quick succession and so that kind of like interrupts the connection now after the page has loaded we're good to go things still work but this is one thing that's pretty annoying and one way to fix it is to not call AIT if the component is mounted and then unmounted really quick and so we can do that using a set timeout so here when the component is mounted we create a timeout that will call a knit but then if the component is unmounted we clear that time out and essentially if this component is mounted and then unmounted in quick succession it will not call init on the first time so if we do this inside of our react app now we won't see that the connection was interrupted because it won't call connect until the component is officially mounted now you don't necessarily have to worry about this because it is just when we're in development but it is very annoying to see that connection error when we're in development so I would write the code this way just to make sure that we don't see that and then we're not overloading their socket API by constantly trying to connect and then disconnect while we're in development now in view we don't have to worry about this because these life

Chapter 6 6:52

Vue Lifecycle Methods

cycle methods unmounted and un unmounted only get called when the component gets mounted or unmounted all this code that we have written in the script runs once when the component is created so there's not a similar thing whereas in react that use effect gets called on every render but it knows not to reinvoke its method if the dependency array hasn't changed in view we don't have to worry about that essentially we just pass in our function to on mounted on unmounted there's no extra calls that are going to happen that are outside of our control now if we want to add a new stock symbol to the page we have our symbol form and like I showed the list of stock symbols is stored at the top level so essentially we need to pass down a meth method to the symbol form that it can call to add that stock symbol if it's valid and if it should be added to the page so here inside of react you can see we have an add symbol method this essentially just takes in that stock symbol and puts it on the end of the array and then we're passing down the list of symbols and the add symbol method now to work with these props on this component in a typees safe way I've defined a type called symbol form props

Chapter 7 7:18

Stock Symbol Form Overview

Chapter 8 7:36

React Stock Symbol Form

that has those two things the list of stock symbols and Method and I can pull them in here and so now they're type safe and I can use them inside of my component now inside of view we have our ad symbol method and because our refs inside of view can be mutated we can actually just push directly into that array we don't need to spread and make a copy of the array you can see to pass down props to that symbol form I'm passing that list of symbols and then I'm passing the ad method now we're seeing some view specific syntax here essentially inside a view if you see this colon that means we're binding that to a specific variable so without the colon it's just an HTML attribute you can see it comes across as a string but with that colon that means I'm explicitly passing down that list of symbols uh the other thing is you can see this at sign here so if a component exposes a prop that has the on word on it so like in this case it exposes a prop called on ad you can actually use the at Shand you can see whenever I hover over it it actually is on ad uh but without the shorthand I would have

Chapter 9 8:03

Vue Stock Symbol Form

to type it out like this uh but it's nice that if your components specifically are exposing methods and they follow the on naming you can just use the at sign syntax to bind the method to that specific prop now here inside the symbol form component we can use the defined props macro this accepts a type and then we can use those props in a type safe way inside of our component by destructuring from Define props now the submission Logic for the form needs to take care of a few things if a user types in something that is not a valid symbol we should see an error so essentially when the user types something in we reach out to the AO Finance API we verify that this is a valid stock symbol if it's not we set an error if we get back a valid stock symbol then we make sure it's not in the list and we can call that onad method so here inside of react we have our onsubmit function you can see we have a few State variables to keep track of the error and whether or not it's loading and essentially we need to handle all that logic that I just showed you so grab what the user just entered into

Chapter 10 9:16

Form Submission Logic

Chapter 11 9:37

React Form onSubmit

that input box make sure it's not already on the page set loading to True reach out to the API to see if this is a valid stock symbol if it's not set the error if it was call the ad method reset the form and then Focus that input so one thing is after someone types in a stock symbol I want to be able to type in another one right after that so you'll notice after I type in Microsoft I can still type into that input box and that's because we're focusing it after resetting the form now here inside of view we also have an error State variable and a loading variable and our handle submit function is almost exactly the same except we're using the reactive variables instead of using the set methods we'll notice again we call form reset and then after that we focus the input now in order to focus this input you might have noticed in the react example we use set timeout so there's nothing built into react to essentially say run this code after everything has settled right after all the State updates have been made after the Dom has been updated that's when we want to focus the input so in this case we're

Chapter 12 10:18

Vue Form onSubmit

Chapter 13 10:32

React Element Refs and Input Focus

Chapter 14 10:38

flushSync from react-dom can be used for this as an alternative to setTimeout

using set timeout essentially that adds it into the event q and then after everything has settled this function will fire off and focus the input because we are storing a ref to that specific Dom element so in react we have this hook called use ref and we can use this to get a reference to the underlying Dom element so you'll notice on the input here we pass in a function to the ref prop and we can set the current value of that ref so essentially react is updating the Dom behind the scenes and we need to get access to that actual Dom node so that's what we're using the ref for and so here you can see that I'm making sure that it actually exists and if it does I call focus and the reason we're using set timeout here is because it's possible that on a previous render the current value isn't the latest value so that's why I'm essentially queuing this to be called after everything has settled and been updated now inside of view they have a built-in method for this it's called Next tick and essentially you pass a call back and you are guaranteed that that method will be called after everything is settled after the Dom has been updated after all your state variables have been updated and things

Chapter 15 11:37

Vue Element Refs and Input Focus

like that now to store a ref inside of view we can just use the same ref that we use for State variables and then pass it into the ref prop on an input put and under the hood that's going to set the value of that ref so at this point after the user has added a stock symbol to that list it's going to appear on the page because we're passing down that list to the symbol Marquee which is going to create a symbol component for each one and then we're iterating over that list in the page to show a line chart for each one now when each of those components mounts it's going to call subscribe via the Yahoo finance API so it's going to pass in that specific stock symbol and a call back function that will get called anytime there is a real-time update so first here in react you can see we have this symbol Marquee component and we're just passing down that list of symbols inside the Marquee component we've received the symbols as a prop and then we just iterate over them to show a symbol component now the symbol component actually displays the stock symbol name the latest price and then the direction of the price is it going up down or staying the same so this is the symbol component it exists

Chapter 16 12:01

Web Socket Subscribe

Chapter 17 12:28

React Stock Symbol Component

there inside the Marquee and then it's also going to exist on each of the line charts as well and there's one symbol component for every stock symbol that's been added to the page now inside this component we have two state variables we have the stock itself which is the latest update that we've received from the websocket API and then we have the current direction that the stock is going is it going up down or staying the same now when this component mounts we want to subscribe to updates for this specific stock symbol so in react here we're using a use effect you can see that we're passing in two dependencies the symbol itself and then our on update method and so when this component mounts we want to subscribe to updates for that specific symbol and when it unmounts we want to call unsubscribe now in this case we're passing that onupdate method and in order to subscribe and unsubscribe I need to pass the same reference to that function right because later on when I call unsubscribe on update needs to be the exact function that's been passed to that library to make sure that it actually gets unsubscribed and and it stops being invoked so in react we use use callback

to basically cache this method here because we're passing in an array of no dependency so the value that we get back here is always going to be the same so when we subscribe and unsubscribe we're always passing in the same reference to that function now inside of view you can see I also have a simple Marquee component and I'm passing down that list of stock symbols inside the Marquee component I am iterating over that list of stock symbols to create a symbol component now you'll notice in this example when I'm using Define props I'm not actually destructuring it or putting it into a variable because by default if I don't need access to those props inside of my script here I can just reference them inside of the template and I'll have access to them because this is a compiler macre you'll notice that I'm not importing this from anywhere essentially whenever our code gets built this is all going to be replaced with the correct code for actually pulling in those props and making sure that that prop variable exists inside this component now inside the symbol component you can see I have two State variables I've got the latest stock update so this is the latest update that we've received from the websocket API and then I also have the

Chapter 18 13:59

Vue Stock Symbol Component

direction which starts off as none now the props in this case are just the stock symbol which is a string so I'm destructuring that from our Define props macro and then when this component mounts we want to subscribe via the Yahoo Finance API so when it mounts we say Yahoo finance. subscribe pass in that symbol and the reference to our on update function and then when the component unmounts we want to unsubscribe so we do the exact same thing now in this example because this code inside of VJs only runs once the reference to our onupdate function stays the same right I can pass it in in both places and it's the same reference to the function whereas in react we had to use use callback to make sure that we're caching that value so on subsequent renders we still have access to the original value that we specified there now let's take a look at that on update function inside of react so this call back receives the latest update via the websocket API so it's going to call this function pass in the latest value and then we can do what we would like with it so in this case when we receive an

Chapter 19 15:31

React Web Socket Update

update we want to set latest on our state here so we're calling set latest but we also need to keep track of the direction so we have the latest value which we just received via the websocket API and then the current state value and so essentially we can compare the those two to determine what the direction is now if the price hasn't changed at all we just leave the latest stock value as it is but if it has changed we calculate did it go up did it go down and then we set the direction as well now inside of view it's very similar check to see if the price has changed and if it has we'll get the direction that the price is going update the direction value and update the latest value the major difference here is we're not calling our Setter functions we can just modify those State variables directly now finally we can talk about the line chart component itself now just like the symbol component calls the Subscribe method to get updated about the latest stock value the line chart does this as well except it needs to keep track of the history of value that it can display that line chart so I showed you the symbol component first you can see the basics of subscribing but now let's take a look at line chart where things are a

Chapter 20 16:10

Vue Web Socket Update

Chapter 21 16:23

Line Chart Component

little bit more complex so here in react inside the stocks page we're going to iterate over that list of symbols to render out a line chart now we pass down a color which we just fix to a static value we pass down the stock symbol itself and then we pass down a remove method so whenever click that remove button on the line chart it's able to call up to the page and actually remove it from the list of symbols now in this case to remove it from the list I'm calling the filter method so we pull that stock symbol out once it's removed from the list it won't show up in the Marquee anymore because we're passing down that list and the line chart itself won't exist either we take a look at view similar idea we are iterating over that list of stock symbols passing in a static color and passing in the stock symbol itself now just like earlier the prop here is called on remove so we can use that at sign for remove and we pass in remove symbol now for the remove symbol function technically we could just splice the value from the array cuz we're able to modify it but the code is simpler for us to just filter out that value and replace the entire array so let's take a look at the stock line

Chapter 22 16:45

React Line Chart / remove

Chapter 23 17:16

Vue Line Chart / remove

Chapter 24 17:40

React StockLineChart Component

chart component here inside of react so first we have our props we're taking in that color that stock symbol string and then a removal function we have two State variables the direction that the stock is moving and then also the stock info itself so stock info is a custom type it keeps track of the latest stock stock info and then all of the information that we need to actually render out the chart so we have a list of labels so those are the labels along the x-axis which are the time for each of those stock updates and then we have the data set now for this example I'm using chartjs so I've pulled in their types to describe this data set which is for a line chart now when the component mounts we need to subscribe for updates on that specific stock symbol so this is just like the symble component where on Mount subscribe for those specific updates and then when we unmount unsubscribe and you'll notice we had to use use callback as well to make sure that we always have the same reference to that on update function now if we look at the stock line chart here inside of view we can see we have those same three props color symbol and on remove and we have two State variables

Chapter 25 18:32

Vue StockLineChart Component

Direction and the latest stock info now we also have a data variable which is the data we're passing down to the Chart I'll talk about why we need a separate State variable here in view in a second uh but just like the symbol component on mounted we want to subscribe to updates for that specific stock symbol and when it's unmounted we want to unsubscribe now if we take a look at the r function here inside of react you can see that I'm bringing in this line component and this line component comes from React chartjs 2 so I'm using chartjs in both examples but I've found a thirdparty library that wraps chartjs to work with both View and react so in the case of react we're using React chartjs 2 and they expose some components for us so that way we can literally just pass down our options and our data and it'll render out the chart for us now in the view example we also have a line component and this line component is coming from View chartjs and the props are exactly the same we pass down the options and also pass down the data and that Library specifically is called view chartjs so both of these are just simple

Chapter 26 18:57

Chart.js Component Libraries

component wrappers on top of chartjs now the heavy lifting for this stock line chart component is this on update method so every time we get an update of data via that websocket API we need to add it onto our state here and essentially we're creating an object that has both labels and data set because this is the data that we need to pass down to that chart component and so we can take a look here in react at our on update function so anytime we receive a stock update we want to update the info that we have stored on state here which essentially keeps track of the history of values for that specific stock NOW inside of here we set the direction based on where the stock is moving and if we have not seen that stock before we need to create a brand new stock info object with all of the default values and so that's what I'm passing in here so I created this helper function called update stock info which takes the previous value and the next value and then kind of combines them together so in the case where this is the first update that we're receiving we need to create an initial object here so it has the stock ID the latest value and then

Chapter 27 19:40

React StockLineChart onUpdate

all of the options for our data set and so you can see this is how I'm specifying the style and then also the color that got passed down from the parent Now update stock info basically combines this with our latest values update so let's take a look at that function so we take in the current stock info and the update that needs to be applied to it now the websocket API has constant updates and sometimes they include the exact same Tim stamp so we don't want to put those into our history unless it's a unique time stamp so the first thing I do is create a label based on the time of this specific stock update and then make sure that we haven't seen that label before and if we have seen it before we just don't make the update so essentially we'll be receiving these socket updates for the same price at the same time ignore those but then when we see a new time we'll actually add it to our list of labels in our data set so down here you can see that I spread the previous list of labels add the new label onto the end I spread all of our existing data set options spread all of our existing data points and then add a data point for

this specific update that just happened so this helper method is super useful because I can use it on the initial call with the initial value of our stock and then on subsequent updates I can just call that function and and I don't have duplicate logic now you might have noticed down below I have an es lint ignore here and this is because whenever you're specifying a dependency array if you have es lint installed enabled and you have the right rule enabled and so this will actually warn you if you don't pass in all of the dependencies that are being used by this use effect and so you can see right here it has a missing dependency color now I know that the color prop is not going to change it's always going to be the same one that was passed in and I don't want this update function to get recreated so I'm basically just ignoring that rule and saying hey I I know I'm always going to use the initial value that was passed into this component so no need to track that dependency so let's see how the on update function works here inside of vuejs so when we receive that websocket update we're first going to grab the label that we're going to use to pass into our chart data and if we have not gotten an update before essentially this

Chapter 28 21:48

React eslint useEffect dependencies warning

Chapter 29 22:23

Vue StockLineChart onUpdate

is the first update we're getting from the websocket API we're just going to create some initial options and so this is a helper function very similar to the last one I showed you but this is for creating those initial options so you can see I'm just creating my options that need to be passed into the chart here and the one thing you will notice is for data I'm actually using Mark raw now this is typically not something I have to reach for whenever using view but sometimes when you're interfacing with the third party Library they don't work very well with reactive variables and because our info variable here is a ref which means it's a reactive variable this data property is also reactive because it's it's deeply reactive and when we pass this to the underlying chart Library it doesn't know what to do with all those extra props that are basically there for keeping track of reactivity so for this specific example I'm saying Mark raw which means this nested prop here will not be a reactive variable so that way there's not all the extra properties on top of it and I have some code that will have the latest value itself so the underlying component can still get those State updates without this actually being a reactive

variable so that sets the initial value and then we have our data property which we're actually passing down to our line chart now because VJs specifically Works off of reactive variables this is why I had to Define data as a separate reactive variable so I have my data defined here if I were to pass this data directly down to the prop here it wouldn't actually receive the updates because this render function fun doesn't get called over and over again like it does in react it's only going to get called specifically if this data has changed so in order for the latest values to be passed down to that line chart to actually see those line chart updates we have a separate reactive value that I'm just overriding anytime we get some new data if you contrast that with how we're doing it in react we are just directly passing down the data here and that's because this render function is going to run every time we have a state update so it's always going to be passing the latest data down to that component now if this is not the initial up date from the websocket API will actually update the existing data that we have here in our component and

Chapter 30 23:41

Vue chart data prop

Chapter 31 24:14

React chart data prop

Chapter 32 24:27

Vue StockLineChart onUpdate continued

so here if we have seen that label already we don't do anything because that means the current update has the exact same time stamp of one that we've already seen But if not we can just update our state variables so we update the direction set the latest value and then we can push in the latest label and the value for our data set there and so that's pretty much it essentially this component is just sitting here waiting for these updates once it receives new data it updates the labels and the data set and then the underlying line chart receives that latest data and shows the updates on the page now my least favorite part of the react example is that I have to manually opt out of uh the dependency tracking here to make sure that my linter isn't yelling at me and these State updates are immutable updates and this is just how react works it works off of immutable data but you can notice here that we have some deeply nested data that we're having to spread now there are libraries you could reach for that would make these State updates a little bit better but these are deeply nested State updates so every single array that has a new value I need to spread the previous one and every object that I'm updating I need to spread the

Chapter 33 25:03

Opinions on React Implementation

previous one as well so this is pretty cumbersome that we do have to do that immutable update here now on The View example I like that we don't have to have a used call back here for on update right I can just Define my function I don't have to do anything special with it and then when I'm updating my data set I don't have to have that immutable update but I did actually have to reach for some things that a lot of you developers might not know about like this Mark raw function and I had to keep my data in a separate variable here in order for the line chart here to see those latest changes so what are some final takeaways here ultimately the implementation of both is fairly similar and that's probably because I wrote it and uh I actually went through multiple iterations in refactoring to kind of like get the code and the best place that I thought it could be um but probably the the most combersome thing about working in the react example is with all of these use effects and also use callbacks to make sure that things don't get called over and over again and also make sure that we're always using the same reference like with used call back now a lot of the heavy lifting was actually done by extracting a lot of

Chapter 34 25:38

Opinions on Vue Implementation

Chapter 35 26:01

Vue vs React Takeaways

this socket management loog logic into a separate module right I didn't have to do it directly inside of react or directly inside of view and in this example I pretty much did that so that we could have a closer implementation to compare and contrast but I have worked in react codebases that are dealing with real time and they try to handle everything directly inside the component and that gets even Messier you have more use effects more use callbacks and it's a lot to work with now for this example I purposefully didn't use a global State Management solution like I did in the second video in this series because I really wanted to isolate showing you like component hierarchies and then also like how do we work with external libraries and async data but I want you to imagine a code base that kind of takes all of the things that I've done in all of the examples like Global State Management local State Management uh async requests component hierarchies and then combine them together in your mind because that's closer to what you'll be working with in the real world it's not going to be these little isolated examples like I showed you it's going to be much more complex and combined

together and in my experience that's when things really start to break down that's when your application logic gets really complex you have multiple use effects you have context being used all throughout your application and ultimately the code base becomes very complex and so if you take away anything from this video or the other videos in the series I just want you to see how in a somewhat simple example how things start to snowball how we have use effect on top of use effect on top of use call back and in larger code bases written with react this stuff starts to get out of hand fairly quickly now in the view examples the biggest thing that stands out to me is just how nice compartmentalized and labeled everything is right we don't have just a single method use effect for everything we have specific methods to do the things we want to do like unmounted or on unmounted or watch or watch effect or things that that have a specific name that are going to do that one thing and also we don't have to worry about the code at the top of our component running over and over again it runs once on create so we don't have to memoize

function references or or variable references now another takeaway you could potentially get from this video that is has nothing to do with view or react is the idea of abstracting out some of that business logic so it doesn't live inside of your components because at a certain point it becomes a lot easier to manage right I actually haven't showed you the implementation for this Yahoo finance library of course this is the public API we have a few methods that we expose but talking to this websocket endpoint um requires quite a bit of logic we have to manage the connection we have to manage the callbacks and so this is quite a bit of Library code that has nothing to do with reactor review but it definitely cleaned up the rest of the code base because everything has been abstracted away into this one spot so that way we don't have to deal with the complexities of websockets or or their API we just call these methods from within our components and deal with the things that the Frameworks are good at like State updates so lastly I just want to let you know that this video is brought to you by Sentry so Sentry is an error monitor ing platform that allows you to have some visibility to your code that's

Chapter 36 28:34

Frontend Architecture Takeaways

Chapter 37 29:23

Brought to you by Sentry

running in production so if you get errors on your back end or in your front end all of them get reported to the sentury dashboard and you can have a much better overview of what's happening in the real world and also how to fix those things as well centry has sdks for all kinds of languages and Frameworks you can add it to your react app you can add it to your view app so no matter what you're building with you can use centry to help track your errors in production thank you so much for watching if you have any questions please throw them down in the comments and if you haven't seen the other videos in the series definitely check those out where I dive into the other aspects of building front end applications with both View and react all right I'll see you in the next one [Music]

Chapter 38 29:54

Thanks!

Quote it with credit and a link. Quoting Syntax