RGB234's Archive
close
프로필 사진

RGB234's Archive

github: @denev6

  • 분류 전체보기 (17)
    • 메모 (4)
    • Study (13)
      • Machine Learning (6)
      • nestJS (2)
      • Spring boot (1)
      • Flutter (4)
  • 홈
  • 태그
  • 방명록

[RiverPod] 2. State disposal

ref.https://riverpod.dev/docs/essentials/auto_dispose Clearing cache and reacting to state disposal | RiverpodSo far, we've seen how to create/update some state.riverpod.dev Provider.autoDispose 처럼 autoDispose 옵션을 단 경우, 더이상 해당 provider의 state 변화를 추적하는 리스너가 없는 경우 자동으로 state 가 폐기된다. autoDispose 옵션 유무와는 관계없이, state 가 변화할 경우 이전 state 는 폐기된다.하지만, state 폐기 시 옵션을 추가하여 이전 state 에 대한 엑세스를 할 수도 있다.Provi..

  • format_list_bulleted Study/Flutter
  • · 2024. 2. 10.
[Riverpod] 1. Provider, Notifier, NotifierProvider, ref

[Riverpod] 1. Provider, Notifier, NotifierProvider, ref

ref. https://riverpod.dev/ko/docs/essentials/side_effects 부가 작업 수행(Performing side effects) | Riverpod지금까지는 데이터를 가져오는 방법(일명 GET HTTP 요청 수행)만 살펴봤습니다.riverpod.dev The problem is, how do we update the state of a provider from within a consumer? Naturally, providers do not expose a way to modify their state. This is by design, to ensure that the state is only modified in a controlled way and promot..

  • format_list_bulleted Study/Flutter
  • · 2024. 2. 10.

[Riverpod] 0. Riverpod overview

https://riverpod.dev/ko/docs/essentials/passing_args 요청에 인자 전달하기 | Riverpod이전 글에서 "provider"를 정의하여 간단한 GET HTTP 요청을 만드는 방법을 살펴봤습니다.riverpod.dev공식문서중 Introduction 과 Essentials 항목의 문서들을 읽어보고 전체적으로 요약해보았다.네모 블럭으로 감싼 영문은 문서의 내용을 발췌하였거나, Rivderpod 코드의 주석문의 내용을 발췌하였다. Flutter 를 사용하다 보면, 전역변수처럼 여러 스크린 사이에서 데이터를 공유해서 사용해야 할 때가 있다.이를 구현하는 방법에는 여러가지가 있는데, 0. 화면마다 일일이 직접 파라미터 형태로 전달한다. 번거롭고, 유지보수관리가 힘들어진다...

  • format_list_bulleted Study/Flutter
  • · 2024. 2. 10.
Flutter 개발환경 구축 (Ubuntu)

Flutter 개발환경 구축 (Ubuntu)

https://docs.flutter.dev/get-started/install InstallInstall Flutter and get started. Downloads available for Windows, macOS, Linux, and ChromeOS operating systems.docs.flutter.dev 윈도우즈건 리눅스건 OS 종류를 떠나서 다음의 순서를 따르는 것은 동일하다1. Flutter 셋업2. Android Studio 셋업3. (VS Code) Flutter extension & Dart extension 설치 (권장) 1 번과 2번의 순서는 뒤바뀌어도 전혀 상관없다. 1. Flutter 셋업 - snapd 패키지 관리 툴을 이용하여 자동으로 설치하는 방법- 수동으로 설치..

  • format_list_bulleted Study/Flutter
  • · 2023. 9. 5.
  • navigate_before
  • 1
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (17)
    • 메모 (4)
    • Study (13)
      • Machine Learning (6)
      • nestJS (2)
      • Spring boot (1)
      • Flutter (4)
인기 글
전체 방문자
오늘
어제
Copyright © RGB234 모든 권리 보유.
SKIN: Copyright © 쭈미로운 생활 All rights reserved. Designed by JJuum.
and Current skin "dev-roo" is modified by Jin.

티스토리툴바