Là một dự án mã nguồn mở, stripe/react-stripe-js đã đạt 2.0k sao trên GitHub, ngôn ngữ TypeScript. React components for Stripe.js and Stripe Elements
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
The minimum supported version of React is v16.8. If you use an older version,
upgrade React to use this library. If you prefer not to upgrade your React
version, we recommend using legacy
react-stripe-elements.
Getting started
Build a custom checkout page using the Checkout Sessions API
Add React Stripe.js to your React app
Try it out using CodeSandbox
Documentation
React Stripe.js reference
Migrate from react-stripe-elements
Legacy react-stripe-elements docs
Examples
Build a custom checkout page
For a new custom checkout page, we recommend the
Checkout Sessions API
with ui_mode: 'elements'. This lets you combine Stripe Elements with your own
React layout while Checkout Sessions manages the checkout state. If you want to
own every part of your checkout, the lower-level
Payment Intents API
provides more fine-grained control, but requires significantly more code and
ongoing maintenance.
React Stripe.js is packaged with TypeScript declarations. Some types are pulled
from @stripe/stripe-js—be sure to add
@stripe/stripe-js as a dependency to your project for full TypeScript support.
Typings in React Stripe.js follow the same
versioning policy as
@stripe/stripe-js.
Contributing
This project is maintained by Stripe and does not accept external pull requests.
If you have feedback or ideas, please
open an issue.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/stripe/react-stripe-js là nguồn chính thức.
stripe/react-stripe-js có bao nhiêu sao?
stripe/react-stripe-js có 2.0k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/stripe/react-stripe-js. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
stripe/react-stripe-js có phải mã nguồn mở không?
Có — stripe/react-stripe-js phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/stripe/react-stripe-js.
stripe/react-stripe-js còn đang phát triển không?
Commit gần nhất trên stripe/react-stripe-js là 9 ngày trước (theo timestamp GitHub). Repo có 346 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
stripe/react-stripe-js dùng license gì?
stripe/react-stripe-js phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
stripe/react-stripe-js là gì?
stripe/react-stripe-js (stripe/react-stripe-js) là dự án TypeScript trên GitHub. Theo mô tả gốc: React components for Stripe.js and Stripe Elements
stripe/react-stripe-js viết bằng ngôn ngữ gì?
stripe/react-stripe-js chủ yếu viết bằng TypeScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
react-stripe-js có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về react-stripe-js.