r/reactjs • u/acemarke • Apr 03 '18
Beginner's Thread / Easy Questions (April 2018)
Pretty happy to see these threads getting a lot of comments - we had almost 200 comments in last month's thread! If you didn't get a response there, please ask again here!
Soo... Got questions about React or anything else in its ecosystem? Stuck making progress on your app? Ask away! We’re a friendly bunch. No question is too simple.
The Reactiflux chat channels on Discord are another great place to ask for help as well.
17
Upvotes
View all comments
Show parent comment
1
u/homercrates Apr 10 '18 edited Apr 10 '18
im pretty sure its the first itteration of
<div>I was doing. let me drum that up.`class Hand extends Component {
state = { currentHand: [ [1,1], [1,2], [1,3], [2,1], [2,2], [2,3], [3,1], [3,2], [3,3] ], oldCurrentHand: [], newCurrentHand: [], theCardPicked: [], oldCopy: [], newCopy: [], updatedHand: [], newCardChoice: [] }
}
export default Hand;`
if it helps at all.
<InnerCard />is in<SelectedCard />which is inside<Hand />I was passing props up through<SelectedCard />up into<InnerCard />I didn't post
<SelectedCard />because it merely is passing up.. but maybe I should include that as well..