Manage App Lifecycle
This utility helps with managing React components’ life cycle events.
It supports API Integration on the On Mount
event for functional React components. DhiWise-generated code will have “useEffect” calling the API function inside it.
Step 1:
Go to pages
Step 2:
Select a page and click on Configure
Step 3:
From the top-left corner, select Life cycle action
. And on On mount
select API Integration. Learn more on how to integrate APIs.
Got a question? Ask here.