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.
gatsby-plugin-create-client-paths
Advanced tools
Gatsby-plugin for creating paths that exist only on the client
Please Note: With recent versions of Gatsby this plugin became obsolete. See migration notes below, or refer to the File System Route API documentation for details on how client only routes are now handled.
Use this plugin to simplify creating a “hybrid” Gatsby app with both statically rendered pages as well as "client-paths". These paths exist on the client only and do not correspond to index.html files in an app's built assets.
For more information refer to client-only routes & user authentication.
Extending from the use case below where the gatsby-plugin-create-client-paths
plugin has a prefix of /app/*
, the way you would do this with the File System Route API is by adopting this structure in your project:
|-- /src
|-- /pages
|-- /app
|-- [...].js
Additionally, you can also refer to the client-only-paths example.
Install:
npm install gatsby-plugin-create-client-paths
Then configure via gatsby-config.js
:
{
resolve: `gatsby-plugin-create-client-paths`,
options: { prefixes: [`/app/*`] },
},
In this example, all paths prefixed by /app/
will render the route described
in src/pages/app.js
.
FAQs
Gatsby-plugin for creating paths that exist only on the client
The npm package gatsby-plugin-create-client-paths receives a total of 15,339 weekly downloads. As such, gatsby-plugin-create-client-paths popularity was classified as popular.
We found that gatsby-plugin-create-client-paths demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 21 open source maintainers 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.