Giter Site home page Giter Site logo

samrith-s / react-select-input Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 3.0 2.49 MB

A component to work as a combination of free-form input and a select.

Home Page: http://samrith-s.github.io/react-select-input

License: MIT License

JavaScript 87.97% CSS 12.03%
react reactjs reactjs-component javascript select selectbox input inputbox dropdown selection

react-select-input's Issues

๐Ÿšธ React Select Input - v2.0.0

The release of v1.0.0 of this package has been very delayed, apologies for that.

Considering the package is still being used by some people and is getting regular downloads, getting a head-start on the second version is only necessary.

Why?

The second version will be a complete rewrite of the package. In the current version, the package was written very casually. Simple stuff like PropTypes were ignored in order to get the package out as quick as possible.

Version 2 aims to rectify these discrepancies, and make the component compatible with future versions of React.

What's in the new version?

There will be some breaking changes in terms of methods and properties both. Right now, the entire functionality is written in one file. The focus on maintainability and scalability, coupled with better documentation and warnings in dev mode.

  • onKeyUp and onKeyDown methods will be deprecated in favour of onKeyPress
  • Custom rendering for options
  • openUp improvements
  • disableEnter to be removed
  • inputProps to add props directly to the input tag
  • Native support for debouncing/throttling
  • Asynchronous options support

Additionally

In v1.0.1, ESLint, Prettier and lint rules were added. v2.0.0 plans to build the entire code-base on it, something which should have been done from the start.

There will be tests written using Enzyme, and proper coverage provided.

The docs are also going to be written from scratch. That being said, the entire code will be documented, to enable contributors to easily understand the code. A lot more usage and code examples will be created.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.