React higher order component for adding onEnterKeyDown to input components

Last update: May 4, 2020

react-onenterkeydown

Travis npm package Coverage Status Dependency Status devDependency Status

React to enter key down events higher order component

DEPRECATED

This was originally used in a personal project along with other HoCs. However, with the realease of hooks, HoCs have become much less useful and this one in particular is very redundant and pointless to maintain. Please replace by a higher order function as follows:

const ifEnter = func => e => {
  if (e.which === 13) func(e);
}

import { ifElse, propEq, always } from 'ramda';

// or even more concise, with something like ramda
const ifEnter = func => ifElse(propEq('which', 13), func, always(null));

Live demo

You can see the simplest demo here: Live demo

Install

$ npm install --save react-onenterkeydown

Examples

Run examples:

cd examples
npm install
npm start

Usage

react-onenterkeydown adds an onEnterKeyDown prop to a component with supports onKeyDown property, such as the html input component:

( ) ">
import React, { propTypes } from 'react';
import onEnter from 'react-onenterkeydown';

const logEnter = () => {
  console.log('The enter key has been pressed');
}

const EnhancedInput = onEnter("input");
const () => (
  <EnhancedInput onEnterKeyDown={logEnter} />
)

If onKeyDown is passed in addition to onEnterKeyDown, it will execute as well after the enter event.

Props

onEnterKeyDown

Type: function, default: undefined

Defines an event handler for when the enter key is pressed on the wrapped component

TODO

  • Beter design on example

License

See the LICENSE file for license rights and limitations (MIT).

GitHub

https://github.com/perrin4869/react-onenterkeydown/
Comments
  • 1. Update gulp-mocha to version 3.0.0 🚀

    Hello lovely humans,

    gulp-mocha just published its new version 3.0.0.

    State Update :rocket:
    Dependency gulp-mocha
    New version 3.0.0
    Type devDependency

    This version is not covered by your current version range.

    Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

    I recommend you look into these changes and try to get onto the latest version of gulp-mocha. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

    Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?

    There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

    Good luck with your project :sparkles:

    You rock!

    :palm_tree:


    The new version differs by 11 commits .

    • de45b26 3.0.0
    • ab510ce meta tweaks
    • 9bb2505 Bump mocha dependency (#139)
    • f2cac8b Merge pull request #111 from Coaxial/fix/shared-state-warning
    • efc4880 Merge pull request #114 from seanzer/fail-on-exception
    • 01ed2cb maintainer needed
    • 898f748 Close #120 PR: Test on Node.js v4 and v5.
    • bffdb4c switch to req-cwd module
    • 225d355 Update readme.md
    • 65ec625 Report errors during test as failures
    • e349184 Add watch task warning, close #110

    See the full diff.


    This pull request was created by greenkeeper.io.

    Tired of seeing this sponsor message? :zap: greenkeeper upgrade

    Reviewed by greenkeeperio-bot at 2016-08-02 10:13
  • 2. Update eslint to version 3.2.2 🚀

    Hello lovely humans,

    eslint just published its new version 3.2.2.

    State Update :rocket:
    Dependency eslint
    New version 3.2.2
    Type devDependency

    This version is not covered by your current version range.

    Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

    I recommend you look into these changes and try to get onto the latest version of eslint. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

    Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?

    There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

    Good luck with your project :sparkles:

    You rock!

    :palm_tree:


    GitHub Release


    The new version differs by 233 commits .

    • cc4559c 3.2.2
    • de07341 Build: package.json and changelog update for 3.2.2
    • 510ce4b Upgrade: [email protected]^1.3.1 (fixes #6816, refs #6780) (#6819)
    • 46b14cd Fix: ignore MemberExpression in VariableDeclarators (fixes #6795) (#6815)
    • 723432d 3.2.1
    • 1e4790f Build: package.json and changelog update for 3.2.1
    • 584577a Build: Pin file-entry-cache to avoid licence issue (refs #6816) (#6818)
    • 38d0d23 Docs: clarify minor releases and suggest using `~ to version (#6804)
    • 4ca809e Fix: Normalizes messages so all end with a period (fixes #6762) (#6807)
    • c7488ac Fix: Make MemberExpression option opt-in (fixes #6797) (#6798)
    • 715e8fa Docs: Update issue closing policy (fixes #6765) (#6808)
    • 288f7bf Build: Fix site generation (fixes #6791) (#6793)
    • 261a9f3 Docs: Update JSCS status in README (#6802)
    • 5ae0887 Docs: Update no-void.md (#6799)
    • 5230310 3.2.0

    There are 233 commits in total. See the full diff.


    This pull request was created by greenkeeper.io.

    Tired of seeing this sponsor message? :zap: greenkeeper upgrade

    Reviewed by greenkeeperio-bot at 2016-08-01 22:29
  • 3. Update eslint to version 3.2.1 🚀

    Hello lovely humans,

    eslint just published its new version 3.2.1.

    State Update :rocket:
    Dependency eslint
    New version 3.2.1
    Type devDependency

    This version is not covered by your current version range.

    Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

    I recommend you look into these changes and try to get onto the latest version of eslint. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

    Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?

    There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

    Good luck with your project :sparkles:

    You rock!

    :palm_tree:


    GitHub Release

    • 584577a Build: Pin file-entry-cache to avoid licence issue (refs #6816) (#6818) (alberto)
    • 38d0d23 Docs: clarify minor releases and suggest using `~ to version (#6804) (Henry Zhu)
    • 4ca809e Fix: Normalizes messages so all end with a period (fixes #6762) (#6807) (Patrick McElhaney)
    • c7488ac Fix: Make MemberExpression option opt-in (fixes #6797) (#6798) (Rich Trott)
    • 715e8fa Docs: Update issue closing policy (fixes #6765) (#6808) (Nicholas C. Zakas)
    • 288f7bf Build: Fix site generation (fixes #6791) (#6793) (Nicholas C. Zakas)
    • 261a9f3 Docs: Update JSCS status in README (#6802) (alberto)
    • 5ae0887 Docs: Update no-void.md (#6799) (Daniel Hritzkiv)

    The new version differs by 229 commits .

    • 723432d 3.2.1
    • 1e4790f Build: package.json and changelog update for 3.2.1
    • 584577a Build: Pin file-entry-cache to avoid licence issue (refs #6816) (#6818)
    • 38d0d23 Docs: clarify minor releases and suggest using `~ to version (#6804)
    • 4ca809e Fix: Normalizes messages so all end with a period (fixes #6762) (#6807)
    • c7488ac Fix: Make MemberExpression option opt-in (fixes #6797) (#6798)
    • 715e8fa Docs: Update issue closing policy (fixes #6765) (#6808)
    • 288f7bf Build: Fix site generation (fixes #6791) (#6793)
    • 261a9f3 Docs: Update JSCS status in README (#6802)
    • 5ae0887 Docs: Update no-void.md (#6799)
    • 5230310 3.2.0
    • 61903b5 Build: package.json and changelog update for 3.2.0
    • 2438ee2 Upgrade: Update markdownlint dependency to 0.2.0 (fixes #6781) (#6782)
    • 4fc0018 Chore: dogfooding no-var rule and remove vars (refs #6407) (#6757)
    • b22eb5c New: no-tabs rule (fixes #6079) (#6772)

    There are 229 commits in total. See the full diff.


    This pull request was created by greenkeeper.io.

    Tired of seeing this sponsor message? :zap: greenkeeper upgrade

    Reviewed by greenkeeperio-bot at 2016-08-01 19:40
  • 4. Update mocha to version 3.0.0 🚀

    Hello lovely humans,

    mocha just published its new version 3.0.0.

    State Update :rocket:
    Dependency mocha
    New version 3.0.0
    Type devDependency

    This version is not covered by your current version range.

    Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

    I recommend you look into these changes and try to get onto the latest version of mocha. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

    Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?

    There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

    Good luck with your project :sparkles:

    You rock!

    :palm_tree:


    The new version differs by 170 commits .

    • e8cda73 Release v3.0.0
    • 4944e31 rebuild mocha.js
    • 16762d1 fix bad merge of karma.conf.js
    • 2f9a409 add note about spec reporter to CHANGELOG.md [ci skip]
    • 7c0284b fixed typo in mocha.css introduced by 185c0d902e272216232630fe4e2577268456dd9a [ci skip]
    • 8741506 Remove carriage return before each test line in spec reporter. Served no purpose
    • 309b8f2 add "logo" field to package.json [ci skip]
    • 740a511 fix incorrect executable name with new version of commander
    • 0e2e49b add bower.json to published package for npmcdn support [ci skip]
    • d367bc7 fix broken/wrong URLs in CHANGELOG.md [ci skip]
    • 6184529 Release v3.0.0-2
    • 4b4009b rebuild mocha.js
    • 15c344c add browser-stdout to dependencies
    • e3ab4ec update CHANGELOG [ci skip]
    • 0cd9dc9 let child suites run if parent is exclusive; closes #2378 (#2387)

    There are 170 commits in total. See the full diff.


    This pull request was created by greenkeeper.io.

    Tired of seeing this sponsor message? :zap: greenkeeper upgrade

    Reviewed by greenkeeperio-bot at 2016-08-01 06:47
  • 5. Update eslint to version 3.2.0 🚀

    Hello lovely humans,

    eslint just published its new version 3.2.0.

    State Update :rocket:
    Dependency eslint
    New version 3.2.0
    Type devDependency

    This version is not covered by your current version range.

    Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

    I recommend you look into these changes and try to get onto the latest version of eslint. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

    Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?

    There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

    Good luck with your project :sparkles:

    You rock!

    :palm_tree:


    GitHub Release

    • 2438ee2 Upgrade: Update markdownlint dependency to 0.2.0 (fixes #6781) (#6782) (David Anson)
    • 4fc0018 Chore: dogfooding no-var rule and remove vars (refs #6407) (#6757) (Toru Nagashima)
    • b22eb5c New: no-tabs rule (fixes #6079) (#6772) (Gyandeep Singh)
    • ddea63a Chore: Updated no-control-regex tests to cover all cases (fixes #6438) (#6752) (Efe Gürkan YALAMAN)
    • 1025772 Docs: Add plugin example to disabling with comments guide (fixes #6742) (#6747) (Brandon Mills)
    • 628aae4 Docs: fix inconsistent spacing inside block comment (#6768) (Brian Jacobel)
    • 2983c32 Docs: Add options to func-names config comments (#6748) (Brandon Mills)
    • 2f94443 Docs: fix wrong path (#6763) (molee1905)
    • 6f3faa4 Revert "Build: Remove support for Node v5 (fixes #6743)" (#6758) (Nicholas C. Zakas)
    • 99dfd1c Docs: fix grammar issue in rule-changes page (#6761) (Vitor Balocco)
    • e825458 Fix: Rule no-unused-vars had missing period (fixes #6738) (#6739) (Brian Mock)
    • 71ae64c Docs: Clarify cache file deletion (fixes #4943) (#6712) (Nicholas C. Zakas)
    • 26c85dd Update: merge warnings of consecutive unreachable nodes (fixes #6583) (#6729) (Toru Nagashima)
    • 106e40b Fix: Correct grammar in object-curly-newline reports (fixes #6725) (#6728) (Vitor Balocco)
    • e00754c Chore: Dogfooding ES6 rules (refs #6407) (#6735) (alberto)
    • 181b26a Build: Remove support for Node v5 (fixes #6743) (#6744) (alberto)
    • 5320a6c Update: no-use-before-define false negative on for-in/of (fixes #6699) (#6719) (Toru Nagashima)
    • a2090cb Fix: space-infix-ops doesn't fail for type annotations(fixes #5211) (#6723) (Nicholas C. Zakas)
    • 9c36ecf Docs: Add @vitorbal and @platinumazure to development team (Ilya Volodin)
    • e09d1b8 Docs: describe all RuleTester options (fixes #4810, fixes #6709) (#6711) (Nicholas C. Zakas)
    • a157f47 Chore: Update CLIEngine option desc (fixes #5179) (#6713) (Nicholas C. Zakas)
    • a0727f9 Chore: fix .gitignore for vscode (refs #6383) (#6720) (Toru Nagashima)
    • 75d2d43 Docs: Clarify Closure type hint expectation (fixes #5231) (#6714) (Nicholas C. Zakas)
    • 95ea25a Update: Check indentation of multi-line chained properties (refs #1801) (#5940) (Rich Trott)
    • e7b1e1c Docs: Edit issue/PR waiting period docs (fixes #6009) (#6715) (Nicholas C. Zakas)
    • 053aa0c Update: Added 'allowSuper' option to no-underscore-dangle (fixes #6355) (#6662) (peteward44)
    • 8929045 Build: Automatically generate rule index (refs #2860) (#6658) (Ilya Volodin)
    • f916ae5 Docs: Fix multiline-ternary typos (#6704) (Cédric Malard)
    • c64b0c2 Chore: First ES6 refactoring (refs #6407) (#6570) (Nicholas C. Zakas)

    The new version differs by 219 commits .

    • 5230310 3.2.0
    • 61903b5 Build: package.json and changelog update for 3.2.0
    • 2438ee2 Upgrade: Update markdownlint dependency to 0.2.0 (fixes #6781) (#6782)
    • 4fc0018 Chore: dogfooding no-var rule and remove vars (refs #6407) (#6757)
    • b22eb5c New: no-tabs rule (fixes #6079) (#6772)
    • ddea63a Chore: Updated no-control-regex tests to cover all cases (fixes #6438) (#6752)
    • 1025772 Docs: Add plugin example to disabling with comments guide (fixes #6742) (#6747)
    • 628aae4 Docs: fix inconsistent spacing inside block comment (#6768)
    • 2983c32 Docs: Add options to func-names config comments (#6748)
    • 2f94443 Docs: fix wrong path (#6763)
    • 6f3faa4 Revert "Build: Remove support for Node v5 (fixes #6743)" (#6758)
    • 99dfd1c Docs: fix grammar issue in rule-changes page (#6761)
    • e825458 Fix: Rule no-unused-vars had missing period (fixes #6738) (#6739)
    • 71ae64c Docs: Clarify cache file deletion (fixes #4943) (#6712)
    • 26c85dd Update: merge warnings of consecutive unreachable nodes (fixes #6583) (#6729)

    There are 219 commits in total. See the full diff.


    This pull request was created by greenkeeper.io.

    Tired of seeing this sponsor message? :zap: greenkeeper upgrade

    Reviewed by greenkeeperio-bot at 2016-07-29 21:16
  • 6. Update eslint to version 3.1.1 🚀

    Hello lovely humans,

    eslint just published its new version 3.1.1.

    State Update :rocket:
    Dependency eslint
    New version 3.1.1
    Type devDependency

    This version is not covered by your current version range.

    Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

    I recommend you look into these changes and try to get onto the latest version of eslint. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

    Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?

    There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

    Good luck with your project :sparkles:

    You rock!

    :palm_tree:


    The new version differs by 188 commits .

    • ec58bc7 3.1.1
    • 73f4cda Build: package.json and changelog update for 3.1.1
    • 565e584 Fix: eslint:all causes regression in 3.1.0 (fixes #6687) (#6696)
    • cb90359 Fix: Allow named recursive functions (fixes #6616) (#6667)
    • 3f206dd Fix: balanced false positive in spaced-comment (fixes #6689) (#6692)
    • 57f1676 Docs: Add missing brackets from code examples (#6700)
    • 124f066 Chore: Remove fixable key from multiline-ternary metadata (fixes #6683) (#6688)
    • 9f96086 Fix: Escape control characters in XML. (fixes #6673) (#6672)
    • 67c3cc2 3.1.0
    • 71f5a8a Build: package.json and changelog update for 3.1.0
    • e8f8c6c Fix: incorrect exitCode when eslint is called with --stdin (fixes #6677) (#6682)
    • 38639bf Update: make no-var fixable (fixes #6639) (#6644)
    • dfc20e9 Fix: no-unused-vars false positive in loop (fixes #6646) (#6649)
    • 2ba75d5 Update: relax outerIIFEBody definition (fixes #6613) (#6653)
    • 421e4bf Chore: combine multiple RegEx replaces with one (fixes #6669) (#6661)

    There are 188 commits in total. See the full diff.


    This pull request was created by greenkeeper.io.

    Tired of seeing this sponsor message? :zap: greenkeeper upgrade

    Reviewed by greenkeeperio-bot at 2016-07-18 19:08
  • 7. Update eslint to version 3.1.0 🚀

    Hello lovely humans,

    eslint just published its new version 3.1.0.

    State Update :rocket:
    Dependency eslint
    New version 3.1.0
    Type devDependency

    This version is not covered by your current version range.

    Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

    I recommend you look into these changes and try to get onto the latest version of eslint. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

    Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?

    There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

    Good luck with your project :sparkles:

    You rock!

    :palm_tree:


    GitHub Release

    • e8f8c6c Fix: incorrect exitCode when eslint is called with --stdin (fixes #6677) (#6682) (Steven Humphrey)
    • 38639bf Update: make no-var fixable (fixes #6639) (#6644) (Toru Nagashima)
    • dfc20e9 Fix: no-unused-vars false positive in loop (fixes #6646) (#6649) (Toru Nagashima)
    • 2ba75d5 Update: relax outerIIFEBody definition (fixes #6613) (#6653) (Stephen E. Baker)
    • 421e4bf Chore: combine multiple RegEx replaces with one (fixes #6669) (#6661) (Sakthipriyan Vairamani)
    • 089ee2c Docs: fix typos,wrong path,backticks (#6663) (molee1905)
    • ef827d2 Docs: Add another pre-commit hook to integrations (#6666) (David Alan Hjelle)
    • a343b3c Docs: Fix option typo in no-underscore-dangle (Fixes #6674) (#6675) (Luke Page)
    • 5985eb2 Chore: add internal rule that validates meta property (fixes #6383) (#6608) (Vitor Balocco)
    • 4adb15f Update: Add balanced option to spaced-comment (fixes #4133) (#6575) (Annie Zhang)
    • 1b13c25 Docs: fix incorrect example being mark as correct (#6660) (David Björklund)
    • a8b4e40 Fix: Install required eslint plugin for "standard" guide (fixes #6656) (#6657) (Feross Aboukhadijeh)
    • 720686b New: endLine and endColumn of the lint result. (refs #3307) (#6640) (Toru Nagashima)
    • 54faa46 Docs: Small tweaks to CLI documentation (fixes #6627) (#6642) (Kevin Partington)
    • e108850 Docs: Added examples and structure to padded-blocks (fixes #6628) (#6643) (alberto)
    • 350e1c0 Docs: Typo (#6650) (Peter Rood)
    • b837c92 Docs: Correct a term in max-len.md (fixes #6637) (#6641) (Vse Mozhet Byt)
    • baeb313 Fix: Warning behavior for executeOnText (fixes #6611) (#6632) (Nicholas C. Zakas)
    • e6004be Chore: Enable preferType in valid-jsdoc (refs #5188) (#6634) (Nicholas C. Zakas)
    • ca323cf Fix: Use default assertion messages (fixes #6532) (#6615) (Dmitrii Abramov)
    • 2bdf22c Fix: Do not throw exception if baseConfig is provided (fixes #6605) (#6625) (Kevin Partington)
    • e42cacb Upgrade: mock-fs to 3.10, fixes for Node 6.3 (fixes #6621) (#6624) (Tim Schaub)
    • 8a263ae New: multiline-ternary rule (fixes #6066) (#6590) (Kai Cataldo)
    • e951303 Update: Adding new key-spacing option (fixes #5613) (#5907) (Kyle Mendes)
    • 10c3e91 Docs: Remove reference from 3.0.0 migration guide (refs #6605) (#6618) (Kevin Partington)
    • 5010694 Docs: Removed non-existing resource (#6609) (Moritz Kröger)
    • 6d40d85 Docs: Note that PR requires ACCEPTED issue (refs #6568) (#6604) (Patrick McElhaney)

    The new version differs by 180 commits .

    • 67c3cc2 3.1.0
    • 71f5a8a Build: package.json and changelog update for 3.1.0
    • e8f8c6c Fix: incorrect exitCode when eslint is called with --stdin (fixes #6677) (#6682)
    • 38639bf Update: make no-var fixable (fixes #6639) (#6644)
    • dfc20e9 Fix: no-unused-vars false positive in loop (fixes #6646) (#6649)
    • 2ba75d5 Update: relax outerIIFEBody definition (fixes #6613) (#6653)
    • 421e4bf Chore: combine multiple RegEx replaces with one (fixes #6669) (#6661)
    • 089ee2c Docs: fix typos,wrong path,backticks (#6663)
    • ef827d2 Docs: Add another pre-commit hook to integrations (#6666)
    • a343b3c Docs: Fix option typo in no-underscore-dangle (Fixes #6674) (#6675)
    • 5985eb2 Chore: add internal rule that validates meta property (fixes #6383) (#6608)
    • 4adb15f Update: Add balanced option to spaced-comment (fixes #4133) (#6575)
    • 1b13c25 Docs: fix incorrect example being mark as correct (#6660)
    • a8b4e40 Fix: Install required eslint plugin for "standard" guide (fixes #6656) (#6657)
    • 720686b New: endLine and endColumn of the lint result. (refs #3307) (#6640)

    There are 180 commits in total. See the full diff.


    This pull request was created by greenkeeper.io.

    Tired of seeing this sponsor message? :zap: greenkeeper upgrade

    Reviewed by greenkeeperio-bot at 2016-07-15 21:29
  • 8. Update eslint-plugin-jsx-a11y to version 2.0.1 🚀

    Hello lovely humans,

    eslint-plugin-jsx-a11y just published its new version 2.0.1.

    State Update :rocket:
    Dependency eslint-plugin-jsx-a11y
    New version 2.0.1
    Type devDependency

    This version is not covered by your current version range.

    Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

    I recommend you look into these changes and try to get onto the latest version of eslint-plugin-jsx-a11y. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

    Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?

    There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

    Good luck with your project :sparkles:

    You rock!

    :palm_tree:


    The new version differs by 44 commits .

    • 7e215a2 2.0.1
    • 1339c2b [docs] - Update CHANGELOG
    • d42d1e5 [fix] - heading-has-content: dangerouslySetInnerHTML should pass
    • efeeb6d [fix] - Add test for integrating JSXElement fix in jsx-ast-utils
    • 7a1e9c5 2.0.0
    • ae0a9a8 [docs] - Update CHANGELOG
    • 964644f scope no-onchange to select menu elements (#61)
    • 4f4ecc2 1.5.5
    • 92c5aab [fix] - Allow eslint v3 & greater as peer dependency as well
    • eca1c25 [docs] - Update CHANGELOG
    • a38be76 1.5.4
    • f59708f [fix] - Add eslint as a peerDependency
    • 6fbfb10 1.5.3
    • 6c8fa92 [docs] - Update CHANGELOG
    • 25bd5ba [fix] - Fix crash when for role-supports-aria-props

    There are 44 commits in total. See the full diff.


    This pull request was created by greenkeeper.io.

    Tired of seeing this sponsor message? :zap: greenkeeper upgrade

    Reviewed by greenkeeperio-bot at 2016-07-13 16:47
  • 9. Update eslint-plugin-jsx-a11y to version 2.0.0 🚀

    Hello lovely humans,

    eslint-plugin-jsx-a11y just published its new version 2.0.0.

    State Update :rocket:
    Dependency eslint-plugin-jsx-a11y
    New version 2.0.0
    Type devDependency

    This version is not covered by your current version range.

    Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

    I recommend you look into these changes and try to get onto the latest version of eslint-plugin-jsx-a11y. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

    Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?

    There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

    Good luck with your project :sparkles:

    You rock!

    :palm_tree:


    The new version differs by 40 commits .

    There are 40 commits in total. See the full diff.


    This pull request was created by greenkeeper.io.

    Tired of seeing this sponsor message? :zap: greenkeeper upgrade

    Reviewed by greenkeeperio-bot at 2016-07-12 21:17
  • 10. Update eslint to version 3.0.1 🚀

    Hello lovely humans,

    eslint just published its new version 3.0.1.

    State Update :rocket:
    Dependency eslint
    New version 3.0.1
    Type devDependency

    This version is not covered by your current version range.

    Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

    I recommend you look into these changes and try to get onto the latest version of eslint. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

    Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?

    There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

    Good luck with your project :sparkles:

    You rock!

    :palm_tree:


    GitHub Release

    • 27700cf Fix: no-unused-vars false positive around callback (fixes #6576) (#6579) (Toru Nagashima)
    • 124d8a3 Docs: Pull request template (#6568) (Nicholas C. Zakas)
    • e9a2ed9 Docs: Fix rules\id-length exceptions typos (fixes #6397) (#6593) (GramParallelo)
    • a2cfa1b Fix: Make outerIIFEBody work correctly (fixes #6585) (#6596) (Nicholas C. Zakas)
    • 9c451a2 Docs: Use string severity in example (#6601) (Kenneth Williams)
    • 8308c0b Chore: remove path-is-absolute in favor of the built-in (fixes #6598) (#6600) (shinnn)
    • 7a63717 Docs: Add missing pull request step (fixes #6595) (#6597) (Nicholas C. Zakas)
    • de3ed84 Fix: make no-unused-vars ignore for-in (fixes #2342) (#6126) (Oleg Gaidarenko)
    • 6ef2cbe Fix: strip Unicode BOM of config files (fixes #6556) (#6580) (Toru Nagashima)
    • ee7fcfa Docs: Correct type of outerIIFEBody in indent (fixes #6581) (#6584) (alberto)
    • 25fc7b7 Fix: false negative of max-len (fixes #6564) (#6565) (not-an-aardvark)
    • f6b8452 Docs: Distinguish examples in rules under Stylistic Issues part 6 (#6567) (Kenneth Williams)

    The new version differs by 151 commits .

    • 0fd4b6d 3.0.1
    • ebf2987 Build: package.json and changelog update for 3.0.1
    • 27700cf Fix: no-unused-vars false positive around callback (fixes #6576) (#6579)
    • 124d8a3 Docs: Pull request template (#6568)
    • e9a2ed9 Docs: Fix rules\id-length exceptions typos (fixes #6397) (#6593)
    • a2cfa1b Fix: Make outerIIFEBody work correctly (fixes #6585) (#6596)
    • 9c451a2 Docs: Use string severity in example (#6601)
    • 8308c0b Chore: remove path-is-absolute in favor of the built-in (fixes #6598) (#6600)
    • 7a63717 Docs: Add missing pull request step (fixes #6595) (#6597)
    • de3ed84 Fix: make no-unused-vars ignore for-in (fixes #2342) (#6126)
    • 6ef2cbe Fix: strip Unicode BOM of config files (fixes #6556) (#6580)
    • ee7fcfa Docs: Correct type of outerIIFEBody in indent (fixes #6581) (#6584)
    • 25fc7b7 Fix: false negative of max-len (fixes #6564) (#6565)
    • f6b8452 Docs: Distinguish examples in rules under Stylistic Issues part 6 (#6567)
    • 5ec54be 3.0.0

    There are 151 commits in total. See the full diff.


    This pull request was created by greenkeeper.io.

    Tired of seeing this sponsor message? :zap: greenkeeper upgrade

    Reviewed by greenkeeperio-bot at 2016-07-05 20:16
  • 11. Update gulp-eslint to version 3.0.1 🚀

    Hello lovely humans,

    gulp-eslint just published its new version 3.0.1.

    State Update :rocket:
    Dependency gulp-eslint
    New version 3.0.1
    Type devDependency

    This version is not covered by your current version range.

    Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

    I recommend you look into these changes and try to get onto the latest version of gulp-eslint. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

    Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right? Are you unsure about how things are supposed to work?

    There is a collection of frequently asked questions and while I’m just a bot, there is a group of people who are happy to teach me new things. Let them know.

    Good luck with your project :sparkles:

    You rock!

    :palm_tree:


    The new version differs by 26 commits .

    • 6059c22 3.0.1
    • b0c2816 ensure sharable config works
    • 08b9212 test the case where babel-eslint is actually useful
    • eb98701 mock stream-mode vinyl files with from2-string
    • bcd7736 fix invalid envs option
    • 286b0c4 remove unused fixtures
    • e2723e1 Remove unnecessary object-assign dependency
    • 82c1949 3.0.0
    • 97d8638 Remove invalid options in example code
    • 505779d Remove option aliases
    • 7228608 Bump ESLint to v3.x and ES2015ify
    • 946e0e9 2.1.0
    • a01671e Add v2.1.0 release note
    • 87213fd Fix inline config example in README (#159)
    • 4de3d64 Test on the latest/LTS Node

    There are 26 commits in total. See the full diff.


    This pull request was created by greenkeeper.io.

    Tired of seeing this sponsor message? :zap: greenkeeper upgrade

    Reviewed by greenkeeperio-bot at 2016-07-04 17:10
A set of components that react to page scrolling

react-scroll-components A set of components and mixins that react to page scrolling ScrollListenerMixin This mixin provides the following states: scro

Aug 27, 2021
React component to handle keyboard events :key:

react-key-handler ?? React component to handle keyboard events (such as keyup, keydown & keypress). Testimonials “Happy to see that react-key-handler

Apr 18, 2022
An easy-to-use keyboard event react component, Package size less than 3kb
An easy-to-use keyboard event react component, Package size less than 3kb

An easy-to-use keyboard event react component, Can achieve a variety of custom keyboard functions, Package size less than 3kb

May 5, 2022
Declarative hotkey and focus area management for React

React HotKeys A declarative library for handling hotkeys and focus areas in React applications. Upgrading from 1.*.* ? See the upgrade notes. Looking

May 12, 2022
🐭 React hook that tracks mouse events on selected element - zero dependencies
🐭  React hook that tracks mouse events on selected element - zero dependencies

React Mighty Mouse React hook that tracks mouse events on selected element. Demo Demos created with React DemoTab ?? Install npm install react-hook-mi

May 10, 2022
Niue is a tiny shared state and event library for React

Niue is a small library (~1.3kb before compression) that provides a simple way to manage your React app's shared state and send events between components.

May 16, 2022
A React Higher Order Component library to assign class names to components, looks like styled-components

Claas A React Higher Order Component library to assign classNames to components, looks like styled-components Why I always liked to use Tailwind and w

Mar 25, 2022
A React utility belt for function components and higher-order components.

A Note from the Author (acdlite, Oct 25 2018): Hi! I created Recompose about three years ago. About a year after that, I joined the React team. Today,

May 15, 2022
:hourglass_flowing_sand: A higher order component for loading components with promises.
:hourglass_flowing_sand: A higher order component for loading components with promises.

A higher order component for loading components with dynamic imports. Install yarn add react-loadable Example import Loadable from 'react-loadable'; i

May 17, 2022
Two decorators (higher order components) that inject "window" scroll position, dimensions, orientation and breakpoint to your component's props.

React Window Decorators Two decorators (higher order components) that inject window scroll position, dimensions, orientation, breakpoint* and isTouchD

Feb 10, 2022
Lightweight auth library based on oidc-client for React single page applications (SPA). Support for hooks and higher-order components (HOC).

Lightweight auth library based on oidc-client for React single page applications (SPA). Support for hooks and higher-order components (HOC).

May 10, 2022
Redux bindings for Firebase. Includes React Hooks and Higher Order Components.

react-redux-firebase Redux bindings for Firebase. Includes Higher Order Component (HOC) for use with React. Usage Note If you are starting a new proje

May 9, 2022
Prebuilt Chakra UI Higher Order Components
Prebuilt Chakra UI Higher Order Components

CHOC is acronym for Chakra Higher Order Components. Choc UI is a collection of components, inspired by many sources of well used web components, which are rebuilt based on the Chakra UI library.

May 9, 2022
A set of higher-order components to turn any list into an animated, accessible and touch-friendly sortable list✌️
A set of higher-order components to turn any list into an animated, accessible and touch-friendly sortable list✌️

A set of higher-order components to turn any list into an animated, accessible and touch-friendly sortable list Examples available here: http://claude

May 10, 2022
React Native Higher Order Component that adds advanced caching functionality to the react native Image component.

React Native Image Cache HOC React Native Higher Order Component that adds advanced caching functionality to the react native Image component. Feature

May 17, 2022
A Higher Order Component using react-redux to keep form state in a Redux store
A Higher Order Component using react-redux to keep form state in a Redux store

redux-form You build great forms, but do you know HOW users use your forms? Find out with Form Nerd! Professional analytics from the creator of Redux

May 7, 2022
A Higher Order Component using react-redux to keep form state in a Redux store
A Higher Order Component using react-redux to keep form state in a Redux store

redux-form You build great forms, but do you know HOW users use your forms? Find out with Form Nerd! Professional analytics from the creator of Redux

May 11, 2022
A higher order component of react-handsontable.

react-handsontable-hoc Description A higher order component for react-handsontable. How to use const data = [ {'id': 11, 'name': 'ford', 'year': 2

May 5, 2021
React Higher-Order Component for using Geolocation API

react-geolocated - React.js Higher-Order Component for using Geolocation API Demo Basic demo can be found at the demo page. Basic Usage Install using

May 12, 2022
:recycle: higher order reducer to add undo/redo functionality to redux state containers
:recycle: higher order reducer to add undo/redo functionality to redux state containers

redux undo/redo simple undo/redo functionality for redux state containers Protip: Check out the todos-with-undo example or the redux-undo-boilerplate

May 7, 2022