Component Types Presentational / Skinny / Dumb / Stateless receive data, purely responsible for rendering the view Container / Fat / Smart / Stateful responsible for storing state, pass props to presentational components Presentational Components Mainly concerned with rendering the “view” markup, styles Based on the data that is passed to them in props Do […]
Category: React
Full Stack JavaScript Development What is Node.js? JavaScript runtime built on Chrome V8 JavaScript Engine Uses an event-driven, non-blocking I/O model – lightweight & efficient What is package.json? Usage documentation for what packages including their versions, your project depends on makes build reproducible Commands npm init – in project folder, follow prompt Online Git repos […]
Build your first React Website
https://www.coursera.org/projects/build-first-react-website What is React? Open-source JavaScript library, maintained by Facebook; Different from React Native, which is designed for App development; Virtual DOM (Memory RAM) for faster rendering. Functional components Stateless sanpshots Class-based components: Object-oriented states, more dynamic; Lifecycle hooks; JSX stands for JavaScript XML. Question: difference between XML & HTML? XML mainly focuses on transfer […]