react-broadcast provides a reliable way for React components to propagate state changes to their descendants deep in the component hierarchy, bypassing intermediaries who return false from shouldComponentUpdate.It was originally built to solve issues that arose from using react-router together with react-redux. The router needed a safe way to communicate state changes to <Link>s deep in the component hierarchy, but react-redux relies on shouldComponentUpdate for performance. react-broadcast allows the router to work seamlessly with Redux and any other component that uses shouldComponentUpdate.
react context broadcast publish subscribe subscriber subscription subscriptionschi is a lightweight, idiomatic and composable router for building Go 1.7+ HTTP services. It's especially good at helping you write large REST API services that are kept maintainable as your project grows and changes. chi is built on the new context package introduced in Go 1.7 to handle signaling, cancelation and request-scoped values across a handler chain.
http router context middleware api rest-api microservices http-router go-library rest-frameworkConditioner provides a straight forward Progressive Enhancement based solution for linking JavaScript modules to DOM elements. Modules can be linked based on contextual parameters like viewport size and element visibilty making Conditioner your perfect Responsive Design companion. Mount a component (like a Date Picker, Section Toggler or Carrousel), but only do it on wide viewports and when the user has seen it.
conditioner es6 import responsive amd module-loader mediaqueries webpack browserify requirejs media-queries media-query module dynamic design context conditions shampooa simple lib for transmitting ThreadLocal value between thread even using thread pool.
thread-library threadlocal threadsafe threading inheritablethreadlocal transmittable context thread thread-pool executor executor-service transmittable-thread-localThe VideoContext is an experimental HTML5/WebGL media processing and sequencing library for creating interactive and responsive videos on the web.It consist of two main components. A graph based, shader accelerated processing pipeline, and a media playback sequencing time-line.
video html5-video graph renderer html5 context composition timeline webglContinuation-local storage works like thread-local storage in threaded programming, but is based on chains of Node-style callbacks instead of threads. The standard Node convention of functions calling functions is very similar to something called "continuation-passing style" in functional programming, and the name comes from the way this module allows you to set and get values that are scoped to the lifetime of these chains of function calls. When you set values in continuation-local storage, those values are accessible until all functions called from the original function – synchronously or asynchronously – have finished executing. This includes callbacks passed to process.nextTick and the timer functions (setImmediate, setTimeout, and setInterval), as well as callbacks passed to asynchronous functions that call native functions (such as those exported from the fs, dns, zlib and crypto modules).
threading shared context domains tracing loggingAdobe® Photoshop® has a variety of helpful blend modes for compositing images from multiple RGBA layers. This small library provides the same functionality for HTML Canvas Contexts, with the goal of producing the same results as Photoshop. This will also install node-canvas, which requires a working Cairo install. See https://github.com/Automattic/node-canvas#installation for more details.
html5 canvas photoshop layer context src-over screen multiply difference src-in overlay hardlight colordodge dodge colorburn burn darken darker lighten lighter exclusion softlight luminosity color hue saturation lightercolor darkercolorYou'll need to also have react and prop-types installed. This package only "ponyfills" the React.createContext API, not other unrelated React 16+ APIs. If you are using a version of React <16, keep in mind that you can only use features available in that version.
react context contexttypes polyfill ponyfillClick this link for a detailed explanation. Pass a store (which stores some state and actions to update the state) to Provider. Then receive the props in the store either by using a HOC or render-props.
react context store hoc reduxElectron doesn't have a built-in context menu. You're supposed to handle that yourself. But it's both tedious and hard to get right. This module gives you a nice extensible context menu with items like Cut/Copy/Paste for text, Save Image for images, and Copy Link for links. It also adds an Inspect Element menu item when in development to quickly view items in the inspector like in Chrome.You can use this module directly in both the main and renderer process.
electron app context right-click menu extensible save imageDetermine the cursor aim for triggering mouse events. Try the demo here.
react react-component amazon submenu dropdown menu aim cursor target buffer context menu-aim jquery-menu-aim react-menu-aimjQuery plugin: add concepts of context and event state to the jQuery event system.
jquery-plugin event context stateBuilt on top of the Slack API github.com/nlopes/slack with the idea to simplify the Real-Time Messaging feature to easily create Slack Bots, assign commands to them and extract parameters.Showcasing the ability to access the github.com/nlopes/slack API. In this example, we upload a file using the Slack API.
slack slack-bot slackbot slackapi slack-api slack-commands bot bot-framework command chat chatbot chatops context concurrency go-libraryPure is a fast radix-tree based HTTP router that sticks to the native implementations of Go's "net/http" package; in essence, keeping the handler implementations 'pure' by using Go 1.7's "context" package.This is an interface that is used to pass request scoped variables and functions using context.Context. It is implemented in this way because retrieving values from context isn't the fastest, and so using this the router can store multiple pieces of information while reducing lookup time to a single stored RequestVars.
http-router native-http contextHTML5 Context Parser is a robust and small footprint HTML5 context parser that parses HTML 5 web pages and reports the execution context of each character seen.Browsers use Javascript and CSS engine in order to construct the dynamic components of a page correctly. In order to determine which engine should be used, browsers use HTML parsing algorithm to determine the context of HTML blocks (aka tokens).
context parser html5We enhance the express-handlebars server-side view engine by leveraging the secure-handlebars for defending against Cross-Site Scripting (XSS). Hence, web applications can be automatically secured by contextual output escaping.For more details, kindly refer to the introductions to secure-handlebars and xss-filters.
context parser handlebars express xss cross-site-scripting contextual-escaping output-escaping securityCheck out the latest slide deck, presented in the OWASP AppSec USA 2015.Imagine a template is written like so: <a href="{{url}}">{{url}}</a>. When it is compiled with an untrusted user data like {"url": "javascript:alert(666)"}, secure-handlebars automatically applies contextual escaping and generates the HTML <a href="x-javascript:alert(666)">javascript:alert(666)</a> as a result.
xss security escape encode filter context html5 handlebars parser precompilerFunctional mechanism based on context to perform actions repetitively until successful.egg is an extended go get.
golang-library repeat retry backoff context awesome-go utility go-library
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.