Help with exercise 3


#1


Task
---------------------------------------------------------------------------
Give Parent a getInitialState function that returns the following object:

{ name: 'Frarthur' }
Dont forget to separate getInitialState and render with a comma!
----------------------------------------------------------------------------

How to return an object? I have tried to create and object and then pass it but nothing seems to work.


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.