
ืฉืคื ๐ฎ๐ฑ ืขืืจืืช
ืืชืืื
ืฉืืืืฉ
Add Comments to Your React App
ืื ืกืคืจืืืช React ืืจืฉืืืช ืฉื FastComments.
ืืืืื'ืืื ืืชืืืืืช ืฉื FastComments ืขืืืจ React
ืืืืจ
ืืืืืืืช 
ืชืืฆืื ืืืืืืืช ืืฉืืืืฉืื ืฉืื ืื (ืืฆื ืืื, ืขืืืื, ืืื') ืืชืืงืืืช ืืืืืืืืช. ื ืืชื ืืืืืืจ ืื ืืืืื ืืืืฆืขืืช npm install ืืืืคืขืื ืืืชื ืืืืฆืขืืช npm run start.
ืฉืืืืฉ 
ืืจืืื ืืจืืฉื ืฉื ืืืืืื'ื
ืืงืืืคืื ื ืื FastCommentsCommentWidget ืืืืื ืืช ืืืืื'ื ืืชืืืืืช ืืื ืฉื FastComments.
ืืืืืคื ืืช "demo" ืืืื ื-"tenantId" ืฉืืื โ ืืืื ืืื ืืืืืจ ืื ืืืื ืฉื FastComments.
ืืืืืื'ื ืชืืื ืืืจืื ืืคืฉืจืืืืช - ืจืื FastCommentsCommentWidgetConfig ื-src/index.tsx.
import React, { Component } from 'react'
import {FastCommentsCommentWidget} from 'fastcomments-react'
class Example extends Component {
render() {
return <FastCommentsCommentWidget tenantId="demo" />
}
}
ืขืืืื ืืืฃ ืื ืืืื (ื-SPAs)
ืืื ืืขืืื ืืช ืืืฃ/ืืืืืจ ืฉืืืื ืืงืืฉืจ ืฉืจืฉืืจ ืืชืืืืืช ืฆืจืื ืืขืืื ืืช ืคืจืืืจื ืืชืฆืืจื "urlId" ื-"url". ืจืื ืืช ืืืืืื ืืืืกืืจ ืืื.
ืืืืจ ืืืฉืืื (ืชืฉืืืช ืื: ืืงืืืืช ืืืืืื ืืืืจืืคื)
ืื ืืชื ืืืืืื ืืืืจืืคื, ืจืฆืื ืืืืืืข ืืืืืื'ืืื ืฉื ืืืงืื ืืืืื ืืืืจ ืืชื ื ืืฆืืื. ืจืื examples/example-eu;
ืืืจืช, ืืื ืฆืืจื ืืืืืืจ ืืช region.
ืืืืื'ื ืกืคืืจืช ืืชืืืืืช
ืืงืืืคืื ื ืื FastCommentsCommentCountWidget ืืืืื ืืช ืืืืื'ื ืกืคืืจืช ืืชืืืืืช ืืื ืฉื FastComments.
ืืืืืคื ืืช "demo" ืืืื ื-"tenantId" ืฉืืื โ ืืืื ืืื ืืืืืจ ืื ืืืื ืฉื FastComments.
ืจืื ืืช FastCommentsCommentCountConfig ื-src/index.tsx ืขืืืจ ืืคืฉืจืืืืช ืืชืฆืืจื ืื ืชืืืืช.
import React, { Component } from 'react'
import {FastCommentsCommentCountWidget} from 'fastcomments-react'
class Example extends Component {
render() {
return <FastCommentsCommentCountWidget tenantId="demo" urlId="https://example.com/some-page-or-id" />
}
}
Native
ืืืืฉืื ืืงืืื ืืื (Native) ืฉื FastComments, ืจืื fastcomments-react-native-sdk.
ื-wrapper ื-React Native ืฉื ืกืคืจืืื ืื, ืืืฉืชืืฉ ื-webview, ืจืื fastcomments-react-native.
ืืงืืงืื ืืขืืจื?
ืื ืืชื ื ืชืงืืื ืืืขืืืช ืื ืืฉ ืืื ืฉืืืืช ืืืื ืกืคืจืืืช React, ืื ื:
ืชืจืืื
ืชืจืืืืช ืืชืงืืืืช ืืืจืื! ืื ื ืืงืจื ื-ืืืืจ ื-GitHub ืืงืืืช ืื ืืืืช ืืชืจืืื.