primefaces/primereact

Documentation for prime react cdn

Open

#6,711 创建于 2024年5月31日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)CSS (1,207 fork)batch import
Component: Documentationgood first issue

仓库指标

Star
 (8,305 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Describe the bug

Prime react cdn for latest not available. After implementing usestyle hook error comes. Error not coming if "https://unpkg.com/primereact/primereact.all.min.js" is used instead of "core.js". Works fine if i change version 8 but creates error if version greater then 10 Screenshot from 2024-05-31 09-52-20 Screenshot from 2024-05-31 09-53-32

Reproducer

No response

PrimeReact version

CDN

React version

17.x

Language

ALL

Build / Runtime

Create React App (CRA)

Browser(s)

any browser

Steps to reproduce the behavior

On any index.html copy code from https://www.primefaces.org/primereact-v8/setup/ and run in browser.

Expected behavior

No error sholud come in console if core cdn is used. Either fix it or update the cdn

贡献者指南