BI

b3pay/ic-reactor

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

20 stars 품질 69 트렌드 30MIT

IC-Reactor: 인터넷 컴퓨터 플랫폼에서 원활한 프론트엔드 개발을 위한 JavaScript 라이브러리 제품군, 상태 관리, React 통합 및 효율적인 핵심 기능 제공...

개요

TypeScript 및 React에 대한 Type-safe 인터넷 컴퓨터 통합 IC Reactor는 인터넷 컴퓨터 (ICP) 앱을 구축하기 위한 라이브러리의 monorepo입니다. - end-to-end TypeScript 타입 - TanStack Query-powered 캐싱 및 정제 - React Hook 공장 (useActorQuery, useActorMutation 등) - 디스플레이 친화적 변환 (DisplayReactor) - 옵션 코드 생성 (CLI + Vite 플러그인) IC Reactor는 유형의 안전과 제어를 유지하면서 원시 배우 사용보다 더 높은 수준의 API를 제공합니다. - typed canister 메소드 호출 - 내장 캐시 키 및 유효성 primitives - typed Ok/Err 결과 처리 - clientManager를 통해 공유 에이전트 + 캐시 관리, AuthenticationManager의 인터넷 식별 - 내부 및 외부 React 모두 작동 가능한 쿼리 / mutation 개체 어떤 변경 사항, 패키지 당, CHANGELOG.md에, 릴리스가 아직 운반되지 않은 주요 변경을 포함.

개요(AI 번역)

TypeScript 및 React에 대한 Type-safe 인터넷 컴퓨터 통합


ic-reactor 4는 현재 릴리스입니다. 모듈에 얇은 층입니다. Meant는 @ic-reactor/core]에서 배송되는 가이드와 함께 생성합니다. (packages/core/llms.txt), 그리고 그것은의 3.x 런타임을 대체 @ic-reactor/core 과 @ic-reactor/react] 와 4 API. 3.x 라인 수명 v3 지점에서 보안 수정 만, 4.0 릴리스 후 90 일까지, 문서화 ic-reactor.b3pay.net/v3에서.

IC Reactor는 인터넷 컴퓨터 (ICP) 앱 구축을 위한 라이브러리의 monorepo입니다. TypeScript에서. ic-reactor 4 adds, module meant gen에 대한 쓰기 수증기:

  • TanStack Query에 대한 Caller-scoped 쿼리 키가있는 클라이언트
  • 실패한 통화가 실행될 수 있는지 1개의 오류 조합
  • 네트워크 해상도 : mainnet, 로컬 복제 또는 [T6] 쿠키
  • 엄격한 토큰 단위 도우미 ([T7]], formatUnits)
  • 가짜 복제를 통한 테스트 클라이언트
  • [T9]] React 바인딩: 공급자, useClient 및 useAuth

패키지 개요

| 포장 | 용도 |

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

IC Reactor


ic-reactor 4 is the current release. It is a thin layer over a module that Meant generates, with a guide shipped in @ic-reactor/core (packages/core/llms.txt), and it replaced the 3.x runtime of @ic-reactor/core and @ic-reactor/react with the 4 API. The 3.x line lives on the v3 branch, takes security fixes only, until 90 days after the 4.0 release, and is documented at ic-reactor.b3pay.net/v3.

IC Reactor is a monorepo of libraries for building Internet Computer (ICP) apps in TypeScript. ic-reactor 4 adds, over the module meant gen writes for a canister:

  • a client with caller-scoped query keys, for TanStack Query
  • one error union that says whether a failed call may have executed
  • network resolution: mainnet, a local replica, or the ic_env cookie
  • strict token-unit helpers (parseUnits, formatUnits)
  • a test client over a fake replica
  • 'use client' React bindings: a provider, useClient and useAuth

Package Overview

Package Purpose
@ic-reactor/core The client, errors, network and units
@ic-reactor/react 'use client' bindings over core
@ic-reactor/vite-plugin Generates the module with meant gen in a child process, and sets the local ic_env cookie and /api proxy for vite dev

@ic-reactor/parser, @ic-reactor/codegen and @ic-reactor/cli are not part of ic-reactor 4: meant gen generates the canister module instead. @ic-reactor/candid stays at 3.x, published from the v3 branch. None of the four is in this branch’s tree.

GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add b3pay/ic-reactor
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →