s3-kennisbank

View the Project on GitHub HU-SD-S3/s3-kennisbank

data-exchange

Description

The data-exchange component serves as a mediator between the data-form and data-list components. It manages the state of the submitted data and facilitates communication between the form and the list. The data-exchange component is also responsible for the communication with the backend API to fetch, add, update, and delete data entries, to reduce the complexity of the child components.

[!NOTE]

The data-exchange component is not our page component. In case you want to use a component for the data exchange page, you should create a separate page component that includes the data-exchange component.

CSS Variables

none

Attributes

none

Data shape / example

Example User object used across components:

{
  "id": 1,
  "name": "Alice Example",
  "email": "alice@example.com",
  "phone": "+15551234567"
}

Note: id may be omitted when creating a new user.

Events

(Custom)Events listened to

(Custom)Events dispatching

none

Required Services

Slots

none


<- back to README