-
Notifications
You must be signed in to change notification settings - Fork 0
notes
Jose Herminio Collas edited this page May 28, 2019
·
9 revisions
A project to layout global and local state patterns with React and Reactive Streams
The example application used enables the maintenance of a list of widget names. The user is able to view, add, update, and delete widgets on this list. The list holds a maximum of 20 items.
A messaging system is used to notify the user of events and confirm actions.
<StoreProvider>
<Widgets>
<WidgetHeader />
<WidgetManager>
<h3>header</h3>
<WidgetList>
</WidgetManager>
<WidgetControl>
<h3>header</h3>
<WidgetAdd />
<WidgetEdit />
</WidgetControl>
<WidgetMessage>
</Widgets>
</StoreProvider>
interface WidgetNamesInterface{
widgetNames: Array,
lastUpdate: String
}
{widgetNames: [], lastUpdate: ''}
-
Add Widget Name
-
Edit Widget Name
-
Delete Widget Name
-
Show Message