Click in order · JavaScript and React course · Module 8: Advanced React Patterns
Introduction: Render Props - children as function
Arrange the Render Props pattern with children as a function:
Items to click
- {
- }
- <Display data={data} />
- </DataProvider>
- (data) =>
- <DataProvider>
You can check the correct answer by solving this task in the CodeWorlds game.