primefaces/primereact

Documentation for prime react cdn

Open

#6,711 opened on May 31, 2024

View on GitHub
 (4 comments) (0 reactions) (0 assignees)CSS (1,207 forks)batch import
Component: Documentationgood first issue

Repository metrics

Stars
 (8,305 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide