particles/Experimental/7_RefinementTypes/source/DisplayGreeting.js
// Just like with shouldRender, we need access to person, so declare it needs to be passed in.
Just like with shouldRender, we need access to person, so declare it needs to be passed in.
Just like with shouldRender we need access to person so declare it needs to be passed in .
render({person1, person2}) {
      return {
        name1: person1.name,
        name2: person2.name
      };
    }
render ( { person1 , person2 } ) { return { name1 : person1 . name , name2 : person2 . name } ; }
Just like with shouldRender, we need access to person, so declare it needs to be passed in.
Just like with shouldRender we need access to person so declare it needs to be passed in .
// We want the name from person to be interpolated into the template.