6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
22 lines
445 B
JavaScript
22 lines
445 B
JavaScript
import React from "react";
|
|
|
|
class Lifecycle extends React.Component {
|
|
componentDidMount() {
|
|
if (this.props.onMount) this.props.onMount.call(this, this);
|
|
}
|
|
|
|
componentDidUpdate(prevProps) {
|
|
if (this.props.onUpdate) this.props.onUpdate.call(this, this, prevProps);
|
|
}
|
|
|
|
componentWillUnmount() {
|
|
if (this.props.onUnmount) this.props.onUnmount.call(this, this);
|
|
}
|
|
|
|
render() {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
export default Lifecycle;
|