lab.naminsik
  • Javascript, jQuery
  • Reactjs
  • React Native
  • iOS
  • Android
  • AWS
  • Server
  • Html, CSS
  • Php
  • asp .net
  • SQL
  • Word Press
search
keywords
  • React Native 2022‧12‧25

    react native - TabNavigator 에서 탭해서 이동했을 때 컴포넌트 새로고침

    옵션에 unmountOnBlur: true 를 추가하면 된다.

  • Angularjs 2016‧09‧08

    페이지 새로 불러오기

    현재 보고 있는 페이지를 리로드가 필요할 때가 있다. 라우터를 주로 쓰게 되는데 $location.path('경로') 이렇게 하면 ng-router와 ng-view 로 해당 페이지가 바인딩 되긴 하지만 캐시가 남아있다.캐시를 지우는  $templateCache.removeAll(); 를 쓰기도 하지만 php를 이용해서 로그인 전/후에 따른 php 분류 코드가 제대로 안먹힐 때가 있다. 그래서 결론은 $window.location.reload(); 이걸 쓴다.

popular

  • JS - datepicker(jQueryUI,달력) 이용시 두개 날짜 범위 설정
  • HYUNDAI Department Store, PanGyo
  • jQuery - parseJSON에서 Uncaught SyntaxError: Unexpected token 오류날 때
  • CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server.
  • Photoshop - [폰트 캐쉬 삭제] 삭제한 폰트도 계속 리스트에 존재할 때
  • github unable to load repositories Retry
  • 2012 크리에이티브 디렉터 세미나 1일차
  • 원페이지 웹사이트
  • JS - 모바일 접속 체크
  • 타입스크립트와 함께 React.lazy 사용하기

comment

  • 감사합니다!
  • 감사합니다~
  • 잘 해결 되셨다니 다행입니다!...
  • 정말 감사합니다. 덕분에 해결했습니다!...
  • 유용한정보 대단히 감사합니다....