Help with exercise 3


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.


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