Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
clerk-react-globalthis-fix
Advanced tools
Clerk is the easiest way to add authentication and user management to your React application. Add sign up, sign in, and profile management to your application in minutes.
>=18.17.0
or laternpm install @clerk/clerk-react
npm run build
To build the package in watch mode, run the following:
npm run dev
Clerk requires your application to be wrapped in the <ClerkProvider/>
context.
If using Vite, set VITE_CLERK_PUBLISHABLE_KEY
to your Publishable key in your .env.local
file to make the environment variable accessible on process.env
and pass it as the publishableKey
prop.
import { render } from 'react-dom';
import { ClerkProvider, SignedIn, SignedOut, SignInButton, UserButton } from '@clerk/clerk-react';
const publishableKey = process.env.VITE_CLERK_PUBLISHABLE_KEY;
render(
<ClerkProvider publishableKey={publishableKey}>
<App />
</ClerkProvider>,
document.getElementById('root'),
);
function App() {
return (
<>
<h1>Hello Clerk!</h1>
<SignedIn>
<UserButton afterSignOutUrl={window.location.href} />
</SignedIn>
<SignedOut>
<SignInButton mode='modal' />
</SignedOut>
</>
);
}
For further details and examples, please refer to our Documentation.
You can get in touch with us in any of the following ways:
We're open to all community contributions! If you'd like to contribute in any way, please read our contribution guidelines.
@clerk/clerk-react
follows good practices of security, but 100% security cannot be assured.
@clerk/clerk-react
is provided "as is" without any warranty. Use at your own risk.
For more information and to report security issues, please refer to our security documentation.
This project is licensed under the MIT license.
See LICENSE for more information.
FAQs
Clerk React library
The npm package clerk-react-globalthis-fix receives a total of 10 weekly downloads. As such, clerk-react-globalthis-fix popularity was classified as not popular.
We found that clerk-react-globalthis-fix demonstrated a healthy version release cadence and project activity because the last version was released less than 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
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.