반응형
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 | 31 |
Tags
- typescript
- Redux
- Three-fiber
- Raycasting
- androidId
- Image Resize typescript
- identifierForVender
- redux toolkit
- Completer
- FirebaseAnalytics
- webrtc
- Dart 2.17.0
- Three js
- Flutter 3.0
- react
- Babel standalone
- Game js
- code editor
- swagger-typescript-api
- userevent_tracker
- Prism.js
- node
- RouteObserver
- KakaoMap
- babel
- web track
- REST API
- methodChannel
- Flutter
- addPostFrameCallback
Archives
- Today
- Total
목록iframe (1)
Never give up
React - code editor 2
이번에는 iframe에서 어떻게 구현하는지 알아보도록 하겠습니다 (iframe 태그에 대한 설명들은 타 블로그에 자주 잘 정리되어있어서 굳이 정리는하지 않겠습니다) src/hooks/useEditor.ts const useEditor = () => { const resultRef = useRef(null); const [text, setText] = useState(testString); const [printText, setPrintText] = useState(); const debounce = useRef(); const isLoaded = useRef(false); const currentScript = useRef(); useEffect(() => { initIframe(); initConsol..
WEB
2023. 12. 15. 15:44