Loading...
Loading...
Develop FRONTEND React components, pages, and UI logic for Link Loom web applications. Handles view rendering, user interactions, and client-side state using `link-loom-react-sdk`.
npx skill4agent add link-loom/agent-skills loom-reactuseEffect(() => {
if (user) {
if (user.isActive) {
loadData();
}
}
}, [user]);useEffect(() => {
if (!user || !user.isActive) {
return;
}
loadData();
}, [user]);| Type | Path Pattern | Naming Style | Example |
|---|---|---|---|
| Page | | | |
| Component | | | |
| Service | | | |
| Hook | | | |
src/
├── components/ # Reusable UI components
│ └── <Category>/ # e.g., shared, layout, forms
├── pages/ # Route-level components
│ └── <Module>/ # e.g., account, dashboard
├── services/ # API interaction logic
├── hooks/ # Custom hooks
└── layouts/ # Page layoutsrowcol-12col-md-6d-flexjustify-content-betweenalign-items-centermy-4p-3h1ptext-mutedfw-bold@mui/icons-materialimport { AccountCircle as AccountCircleIcon } from "@mui/icons-material";workflow-orchestration/control-plane/flow-design/flow-definitionsrc/components/pages/workflow-orchestration/control-plane/flow-design/flow-definition*Manager*Listcontainer-fluid my-4manager/list/edit/preview/quick-actions/initializeComponentitemOnAction(action, entity)editdeletequick-view*ManagerisEditModePreviewEditsubcomponents/src/components/shareduseNavigateBaseApi@services/base/api.serviceaxiosfetchEntityCollectionfetchMultipleEntitiescreateEntityRecordupdateEntityRecord@services/utils/entityServiceAdapter// Example: initializeComponent with adapter
const initializeComponent = async () => {
const [providers] = await fetchMultipleEntities([
{ service: MyService, payload: { queryselector: "all" } },
]);
setEntities(providers?.result?.items || []);
};xact.prettierrc.eslintrc.jslink-loom/github/link-loom-react-sdk/src/index.jsAlertDataGridTextEditorOnPageLoadedlink-loom/github/link-loom-react-sdk/src/components/view_fileassets/page.jsxassets/manager.jsxassets/component.jsxassets/service.jscol-12col-md-*@components@servicesvite.config.jssrctry-catchuseEffect