bjf-flatiron / props-and-state-discussion-questions Goto Github PK View Code? Open in Web Editor NEW This project forked from learn-co-curriculum/props-and-state-discussion-questions 0.0 1.0 0.0 5 KB License: Other Introduction ยท People ยท Discuss
Props vs. State Discussion Questions What is the difference between props and state in React? When would you use state instead of props? Assuming UserDetail is a component, what will its props be if it's rendered as follows: const user = {name: 'Spider Man', age: 32} <UserDetail title="Profile Page" dog="Fido" user={user} /> Take a look at https://learn.co. Pretend you were going to recreate a specific page. What top level components would you have? What props would they receive and what state would they own? What components would they have as children?
Props vs. State Discussion Questions What is the difference between props and state in React? When would you use state instead of props? Assuming UserDetail is a component, what will its props be if it's rendered as follows: const user = {name: 'Spider Man', age: 32} <UserDetail title="Profile Page" dog="Fido" user={user} /> Take a look at https://learn.co. Pretend you were going to recreate a specific page. What top level components would you have? What props would they receive and what state would they own? What components would they have as children?
Vue.js ๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
javascript JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Machine learning Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Facebook We are working to build community through open source technology. NB: members must have two-factor auth.