我试图创建一个小应用程序,但有许多问题),我有3个屏幕,并使用反应导航来传递数据。该计划如下:
1) loading screen (fetch data and save it to AsyncStorage+handling data and save to obj1 for pickers)
(pass obj1)
2)main screen (get data,render pickers based on it, take selected values and pass them next)
(pass pickers selection+input)
3)some results
我希望能够以这种方式将组件和其他html传递到其他组件中:
<app-container-component>
<h3>All these items should be displayed in parent component</h3>
<app-another-component></app-another-component>
</app-container-component>
如何读取容器组件的内部项并在组件模板中呈现它们?