강의가 오래되어 현재 버전과 맞지 않는 코드가 있습니다. 혹시 저처럼 25년에 수강 중인분들은 참고 해주세요. 강의 따라 코드가 작동안되어 챗GPT에 물어보면서 찾은 해결법입니다. 로그인/ 로그아웃/ 토큰 삭제 및 생성 관련 코드가 콜백 방식으로되어 있어 최선 버전과 맞지 않다고 합니다. then/catch 또는 amsyc/await 방식으로 기능과 미들웨어 부분을 수정하시면 코드 작동합니다. 긴 글 읽어주셔서 감사합니다. 필요하시면 깃 공유 하겠습니다
[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
final routerProvider = Provider<GoRouter>((ref) { final provider = ref.watch(authProvider); return GoRouter( initialLocation: '/splash', routes: provider.routes, redirect: provider.redirectLogic, ); }); flutter refreshListenable 은 v7에서 없던 내용 같은데 어떻게 처리하면 될까요? 그리고 redirect:provider.redirectLogic 에서 에러가 납니다. redirect: (context, state){ return provider.redirectLogic(state); }, 이렇게 수정해주면 될까요? 두번째 아이템은 count만 가져오고 나머지 데이터는 가져오질 못하네요. 코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다! [코드팩토리 디스코드] https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
ERROR in ./src/chapter_03/Library.jsx 5:0-24 Module not found: Error: Can't resolve 'Book' in '/../my-react1/src/chapter_03' Did you mean './Book'? Requests that should resolve in the current directory need to start with './'. Requests that start with a name are treated as module requests and resolve within module directories (node_modules, /../my-react1/node_modules). If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too. 어떻게 해야 할까요?
🚨 아래의 가이드라인을 꼭 읽고 질문을 올려주시기 바랍니다 🚨 질문 하시기 전에 꼭 확인해주세요 - 질문 전 구글에 먼저 검색해보세요 (답변을 기다리는 시간을 아낄 수 있습니다) - 코드에 오타가 없는지 면밀히 체크해보세요 (Date와 Data를 많이 헷갈리십니다) - 이전에 올린 질문에 달린 답변들에 꼭 반응해주세요 (질문에 대한 답변만 받으시고 쌩 가시면 속상해요 😢 ) 질문 하실때 꼭 확인하세요 2.11 번 강의에서 ssr 듣다가 궁금한점이 있어서요 ssr은 두번 렌더링이 일어난다고 하셧느데 그러면 첫번째 서버에서 렌더링된 뒤에는 undefined이고 두번째 하이드레이션이 일어나고 그 뒤에는 window가 있으니 밑에처럼 했을때에는 콘솔이 나온느게 맞을까요 ?(하이드레이션 적용된 뒤에가 맞을까요 ?) if (typeof window !== "undefined") { console.log("window.location", window.location); }
[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
IOS는 빌드가 정상적으로 실행되는데, 안드로이드는 아래와 같은 메시지와 함께 실행이 안됩니다. 어떤 문제인지 감을 잡기가 어렵습니다 Mac을 사용중입니다 어떻게 고쳐야 할지 답변 부탁드립니다 You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply Could not find a command named "bin/build_tool_runner.dill". Usage: dart <command|dart-file> [arguments] Global options: -v, --verbose Show additional command output. --version Print the Dart SDK version. --enable-analytics Enable analytics. --disable-analytics Disable analytics. --suppress-analytics Disallow analytics for this dart * run without changing the analytics configuration. -h, --help Print this usage information. Available commands: analyze Analyze Dart code in a directory. compile Compile Dart to various formats. create Create a new Dart project. devtools Open DevTools (optionally connecting to an existing application). doc Generate API documentation for Dart projects. fix Apply automated fixes to Dart source code. format Idiomatically format Dart source code. info Show diagnostic information about the installed tooling. pub Work with packages. run Run a Dart program. test Run tests for a project. Run "dart help <command>" for more information about a command. See https://dart.dev/tools/dart-tool for detailed documentation. FAILURE: Build failed with an exception. * Where: Script '/Users/jjh/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4/cargokit/gradle/plugin.gradle' line: 65 * What went wrong: Execution failed for task ':irondash_engine_context:cargokitCargoBuildIrondash_engine_context_nativeDebug'. > Process 'command '/Users/jjh/.pub-cache/hosted/pub.dev/irondash_engine_context-0.5.4/cargokit/gradle/../run_build_tool.sh'' finished with non-zero exit value 64 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 6s Error: Gradle task assembleDebug failed with exit code 1
[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
final routerProvider = Provider<GoRouter>((ref) { final provider = ref.watch(authProvider); return GoRouter( initialLocation: '/splash', routes: provider.routes, redirect: provider.redirectLogic, ); }); flutter refreshListenable 은 v7에서 없던 내용 같은데 어떻게 처리하면 될까요? 그리고 redirect:provider.redirectLogic 에서 에러가 납니다. redirect: (context, state){ return provider.redirectLogic(state); }, 이렇게 수정해주면 될까요? 코드팩토리 디스코드에 질문하면 더욱 빠르게 질문을 받아 볼 수 있습니다! [코드팩토리 디스코드] https://bit.ly/3HzRzUM - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
강의처럼 똑같이 """ 세번 치면 빨간색으로 표기됨 """치고 따라오는 """3개 안지우고 6개로 입력하면 정상표기로 인식됨 큰따옴표 6개로 입력하면 되는것인지 그런데 빨간색으로 표시가 안되어도 6개로 큰 따옴표를 입력하면 앞선 질문과 마찬가지로 기호(+. - 등)은 여전히 빨간색으로 표기됨(이전 질문에서 코드 복붙 시 나타나는 문제와 동일) 따라서 아웃풋에서 걔속 오류가 발생 File "c:\test\chapter03_ 01.py ", line 41 + ^ SyntaxError: invalid syntax 설치부터 선언까지 똑같이 하고 있는데 어떤 문제고 어떤 조치를 해야 하는지 문의함. 본인이 답글로 게시한 내용 그대로 복붙했는데도 기호가 계속 빨간색으로 표시되는 것에 대해 문의
안녕하세요 선생님. 질문이있습니다. 1. 결국에는 Anchorbox 중에서 가장 확률이 높은 anchorbox의 x, y 좌표를 loss 기반으로 학습시키는걸로 이해를 했는데 맞나요? 2. 그러면 그렇게 수정된 anchorbox는 변한채로 남아서 다음학습 때 수정된 anchorbox 좌표가 또 학습되고 이런식인가요?
SessoinProvider을 사용할 경우 SessionProvider로 감싼 하위 컴포넌트는 모두 클라이언트 컴포넌트가 되는 걸로 알고 있고 클라이너트 컴포넌트의 자식으로써는 서버 컴포넌트가 올 수 없다고 본 것 같은데 코드를 보니까 SessionProvider의 하위 컴포넌트도 서버 컴포넌트로 잘 작동 되는 컴포넌트가 있는 것 같아요. 혹시 제가 잘못알고 있는지 궁금합니다.
1. 현재 학습 진도 현재 1-5 알고리즘과 친해지기 강의 중 가장 많은 알파벳 출력하는 문제를 풀고 있습니다. 2. 어려움을 겪는 부분 강사님께서 말씀해주신 부분은 가장 많이 사용된 알파벳을 찾는 함수를 구현하는 것인데 강사님께서 예제로 주신 string 값들이 모두 하나 이상의 최댓값을 가지고 있습니다. print("정답 = i 현재 풀이 값 =", result("hello my name is dingcodingco")) print("정답 = e 현재 풀이 값 =", result("we love algorithm")) print("정답 = b 현재 풀이 값 =", result("best of best youtube")) 현재 풀이 값 = o,n,i 현재 풀이 값 = e,l,o 현재 풀이 값 = b,e,t 강사님께서는 가장 많이 사용된 알파벳 중 제일 앞에 있는 알파벳을 출력하신 것 같습니다. 제가 1-6강을 아직 들어보지 않아서 이 부분에 대한 설명을 나중에 해주시는지 확인해 보지 않았지만 , 아무 설명도 없이 이렇게만 넘어간다면 저와 같이 헷갈리시는 분들이 많을 것 같아 질문 드립니다 🙂