Best practices for using new libraries like React 19 and Tailwind v4

I am using React 19 and Tailwind v4, however this is past the cutoff date of the LLM models. What is the best way for me to use Cursor so that it doesn’t think the React 19 and Tailwind v4 code that I use is wrong? Is there a way to update cursor rules or a README that works?

The only way is to add its documentation(Cursor Settings>Features>Docs), use the reference link “React Reference Overview – React” and you’ll see its already indexed in Cursor servers for about 93 pages, then proceed adding it to context by the name you used to add the docs or with chat/composer prompt as a temporary context with @docname