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.
react-esc-resolver
Advanced tools
Async-rendering & data-fetching for universal React applications.
React ESC Resolver lets you define data requirements per-component and will handle the nested, async rendering on both the server & client for you.
For example, the following will load & provide this.props.user
for the
UserProfile
component:
import { resolve } from 'react-esc-resolver';
@resolve('user', function(props) {
return http.get(`/api/users/${props.params.userId}`);
})
class UserProfile extends React.Component {
render() {
const { user } = this.props;
...
}
}
This is the equivalent to asynchronously loading user
and providing it to
the component as if it were provided directly:
<UserProfile user={user} />
This makes components pure, stateless, and easy to test as a result.
$ npm install --save react-esc-resolver
If you'd like to contribute to this project, all you need to do is clone this project and run:
$ npm install
You can use npm link
to use your development version in your own project:
react-esc-resolver
directory and execute command npm link
npm link react-esc-resolver
React ESC is MIT licensed.
If you have questions or issues, please open an issue!
FAQs
Easy to use Client and Server Resolver
The npm package react-esc-resolver receives a total of 2 weekly downloads. As such, react-esc-resolver popularity was classified as not popular.
We found that react-esc-resolver demonstrated a not healthy version release cadence and project activity because the last version was released 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.