![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
react-esc-resolver
Advanced tools
Readme
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 3 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.