일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- toString#String
- https://dasima.xyz/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8-%EC%A0%9C%EA%B3%B1-math-pow-%EA%B3%84%EC%82%B0/
- variable#function
- slice/splice/split
- redux상태유지
- @redux-toolkit
- 자바스크립트#JS#slice#splice
- JS#3일차달리자#초반인데#시간금방~
- 자바스크립트
- ㄷㅌ
- CSS
- User Flow
- 헷갈린다~
- 노드교과서
- cmarket
- children vs childrenNodes
- 자바스크립트#JS#var#let#const#undefined#null
- 내장고차함수
- https://developer-talk.tistory.com/299
- UI
- UX
- https://www.daleseo.com/js-array-slice-splice/
- https://lo-victoria.com/introduction-to-redux-toolkit-for-beginners
- dom
- for~in/for~of
- 자바스크립트#조건문#문자열
- Beesbeesbees
- removeCookie
- react
- js
- Today
- Total
목록2024/12/08 (10)
Daily Front_Minhhk
접속한 브라우저 종류 및 웹이냐 모바일에 따라 로그 따로 남길 때 MOBILE, WEB 은 상수다,,export const MOBILE = "mobile"export const WEB = "web"import { MOBILE, WEB } from "@/constants/words";export const isMobileDevice = (): string => { const userAgent = navigator.userAgent; const mobileRegex = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i; if (mobileRegex.test(userAgent.toLowerCase())) return MOBILE; ret..
깃허브 두개의 아이디로 사용해야 할 일이 생겨서 config 에 등록해서 사용 💡 ssh key 생성,, 적용 이메일 및 ssh key 이름 지정 ssh-keygen -t rsa -b 4096 -C "test@gmai.com" -f ~/.ssh/id_rsa_B~/.ssh/id_rsa_B.pub >> github 에서 ssh-key 등록 이후# Create the config file with PowershellNew-Item -Path $HOME\\.ssh\\config -ItemType File# Open config File with NotepadC:\\WINDOWS\\System32\\notepad.exe $HOME\\.ssh\\config# or Open file with Visual Codec..
import { useState } from "react";import useToast from "@/hooks/toast/useToast";const useFileDownload = () => { const toast = useToast(); const [isDownloading, setIsDownloading] = useState(false); // 다운로드 상태 관리 //! 파일 미리보기 const handleFileView = (fileUrl: string) => { if (!fileUrl) return console.error("파일이 없습니다"); window.open(fileUrl, "_blank"); }; //! 파일 다운로드 const handleFileDownlo..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/cnfDPG/btsLb0zABTg/deP9XpmE3kgTxryBFIJ9OK/img.png)
vite.config.tsimport { defineConfig } from "vite";import react from "@vitejs/plugin-react-swc";import path from "path";export default defineConfig({ base: "/", // vercel 배포 main redirect plugins: [react()], resolve: { alias: { "@": path.resolve(__dirname, "./src"), "@public": path.resolve(__dirname, "./public"), }, }, build: { chunkSizeWarningLimit: 1000, // 임계값을 1000kB로 ..