Davoris Cowell
About Me
Hi! I'm from Georgia. I've been coding for four years now but there's never too much knowledge!
Dublin, GA 31021.
Week 6
WELCOME TO REACT!!!
We're starting react now! We started making our own SPAs. A SPA is also known as a Single Page Application. It loads a single document in a browser with JS APIs and grabs data using HTTP request or the fetch method.
React components use a render() method that takes input data and returns what to display.
Also whole receiving input data (this.props), a component can keep it's internal state data (this.state). When a componentโs state data changes, the rendered markup will be updated by re-invoking render(). You can, using props and state, put together a small application that will track the current data as well as the text that the user has input.
React also lets us interface with other libraries and frameworks. And since it's written in JS, you can easily pass data through your app and keep state out of the DOM.
Top comments (0)