at the end, if it can't wait I will note them down for discussion later My intention is to learn as much as to share Please be mindful of others' time Let's aim for a 30 minutes presentation: 10-15 gist of react 10-15 technical discussion discussion (if needed)
for testing for optimizing bundles redux for state management JSX for syntax simplification good development practices: declarative functional programming runs anywhere (React Native)
templates and js logic together (JSX) Angular Angular less flexibility (framework) bulky more rigidity less arguments about choice Backed up by big names (FB vs Google) both use cli tools for rapid development https://www.madewithangular.com/categories/angular https://github.com/facebook/react/wiki/sites-using-react https://react.rocks https://learngitbranching.js.org/?demo
https://reactjs.org/docs/faq-internals.html The virtual DOM (VDOM) is a programming concept where an ideal, or “virtual”, representation of a UI is kept in memory and synced with the “real” DOM by a library such as ReactDOM. This process is called . reconciliation
to managing the DOM is declarativeness . Instead of low-level techniques like traversing the DOM tree manually, you simple declare how a component should look like. ReactElement Stateless Immutable Live in the Virtual DOM ReactComponent Stateful (can be) re-rendered when state changes class or function converted to
(class with the lot: constructor, lifecycle methods, state) Props Passed from parent to child via attributes Read only (they break if you try to change) State Part of the class Immutable, not changed but regenerated data down, actions up
Components should not depend on their parents for their internal behaviour, other than receiving props All React components must act like pure functions with respect to their props.