Why Logic as a Service?
🔁
Centralized Logic
Keep your business logic centralized and reusable across platforms
🧠
Separation of Concerns
Clean separation between logic and UI for better architecture
🚀
Framework Agnostic
Build once, run anywhere — React, Vue, Web Components
🧩
Better Testing & Maintenance
Simplified testing, improved scalability, and easier maintenance
// React + Uplink Controller
import { useUplinkController } from '@uplink/react';
import { DatePickerController } from '@uplink/datepicker';
function MyDatePicker() {
const { bindings, methods } = useUplinkController(DatePickerController);
return (
<div className="datepicker">
<input type="text"
value={bindings.selectedDate}
onChange={methods.handleDateChange} />
<button onClick={methods.goToToday}>Today</button>
<button onClick={methods.clearSelection}>Clear</button>
</div>
);
}