![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
vcomment 🧵 B3log 分布式社区的评论组件,欢迎加入下一代社区网络。
npm install vcmt --save
import Vcomment from '../src/index'
const vcomment = new Vcomment({
id: 'comments',
postId: '1353745196751',
userName: 'vanessa',
url: 'http://localhost:8080',
currentPage: 3,
vditor: {
hljsEnable: false,
hljsStyle: "github"
}
})
vcomment.render()
<!-- <script src="https://cdn.jsdelivr.net/npm/vcmt@1.3.1/dist/index.min.js" defer></script> -->
<script src="https://unpkg.com/vcmt@1.3.1/dist/index.min.js" defer></script>
说明 | 默认值 | |
---|---|---|
id | 渲染元素的 id | - |
postId | 文章 id | - |
userName | 用户名 | - |
url | 评论 API 地址 | "https://ld246.com" |
currentPage | 评论页码 | 1 |
error | 获取列表错误回调 | - |
vditor | 编辑器参数 | - |
vditor.hljsEnable | 是否启用高亮 | true |
vditor.hljsStyle | 高亮样式 | "github" |
vditor.emoji | 自定义表情 { [key: string]: string } | {} |
vditor.lang | 语言 | 'zh_CN' |
说明 | |
---|---|
render | 渲染评论 |
parseMarkdown(vditorOptions: IOptionsVditor) | Markdown 渲染 |
lazyLoadImage | 图片延迟加载 |
B3log开源
FAQs
Full-featured comment system
The npm package vcmt receives a total of 6 weekly downloads. As such, vcmt popularity was classified as not popular.
We found that vcmt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.