Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- DatePicker
- timepicker
- c# datagridview 데이터 넣기
- setInterval 정지
- invalid data
- listener 1883
- pm2 시작
- 공인IP
- pm2 상태 확인
- pm2 설치
- mosquitto.conf
- html #select #option #multiple
- pm2
- 데이터테이블 데이터 넣기
- pm2 확인
- 서버동기화
- transfer
- AntDesign
- mosquitto
- map이 undefined가 뜰 때
- Replication
- setInterval clear
- datagridview 직접입력
- 1883
- setInterval 중지
- DataGridView 직접 입력
- allow_anonymouse
- mySQL_Replication
- 맥 어드레스
- setInterval 외부 정지
Archives
- Today
- Total
목록2024/04/17 (2)
개발 노트
레벨 별 사운드 구현하기
1. 사운드기능을 하는 컴포넌트 만들기 import { useRef, useEffect } from 'react'; import { useModalStore } from '@/store/useModalStore'; export const AlarmSound: React.FC = () => { const audioRef = useRef(null); const { play, togglePlay, alarmLevel } = useModalStore(); useEffect(() => { let intervalId: ReturnType | null = null; const playAudio = () => { if (audioRef.current) { // 오디오 로딩 대기 후 재생 const playPromise..
React
2024. 4. 17. 10:11