This is an internal documentation. There is a good chance you’re looking for something else. See Disclaimer.
Architecture¶
app-extensions vs. tocco-util¶
Both are core packages that provide helper- and util-functions for other packages.
app-extensions
bigger features that are used in multiple apps
e.g. form, notifications
has dependency to
redux
,tocco-util
andtocco-ui
tocco-util
small independent helper functions
e.g. cache, logger
has no dependencies
addToStore¶
Name |
Description |
Docs |
---|---|---|
actionEmitter |
Dispatches actions to the parent app via |
|
actions |
For rendering action buttons and invoke actions. |
|
cache |
Clears cache on initialization. (Usually in use for standalone apps, widgets and actions.) |
|
errorLogging |
To log errors and use |
|
externalEvents |
Dispatches external events / callbacks (such as |
|
form |
To use detail form actions / sagas for redux-form. |
|
formData |
To use form data and form features such as remote fields. |
|
keyDown |
To use |
|
login |
Checks session and connect to socket. |
|
notification |
Dispatch actions to show notifications and confirmation dialogs. |
|
reports |
To load reports. |
|
templateValues |
To use template values to prefill form. |