Giter VIP home page Giter VIP logo

Comments (3)

flora8984461 avatar flora8984461 commented on July 20, 2024

Same for me when using import { AsyncCreatable } from "react-select-plus";

evaluate
https://fqqlk.csb.app/node_modules/react-input-autosize/1.1.0/lib/AutosizeInput.js:13:30
z
https://codesandbox.io/static/js/sandbox.5a7ff733c.js:1:98419
X.evaluate
https://codesandbox.io/static/js/sandbox.5a7ff733c.js:1:110543
ye.evaluateTranspiledModule
https://codesandbox.io/static/js/sandbox.5a7ff733c.js:1:120123
c
https://codesandbox.io/static/js/sandbox.5a7ff733c.js:1:110289
evaluate
https://fqqlk.csb.app/node_modules/react-select-plus/lib/Select.js:29:27
z
https://codesandbox.io/static/js/sandbox.5a7ff733c.js:1:98419
X.evaluate
https://codesandbox.io/static/js/sandbox.5a7ff733c.js:1:110543
ye.evaluateTranspiledModule
https://codesandbox.io/static/js/sandbox.5a7ff733c.js:1:120123
c
https://codesandbox.io/static/js/sandbox.5a7ff733c.js:1:110289
evaluate
/CompaniesSelectField.js:2
  1 | import React, { useState } from "react";
> 2 | import { AsyncCreatable } from "react-select-plus";
  3 | // import AsyncCreatable from "react-select/async-creatable";
  4 | 
  5 | export function CompaniesSelectField(props) {
View compiled

from react-select-plus.

CygnusBell avatar CygnusBell commented on July 20, 2024

Same issue when importing "Select" or "Creatable"

from react-select-plus.

urlund avatar urlund commented on July 20, 2024

This happens because react-select-plus uses an old build of react-input-autosize.

Both builds depends on React.PropTypes which is deprecated as of React v15.5.

Please update react-select-plus to use the prop-types library instead, and update the react-input-autosize dependency to a more resent build (that has already been updated to use prop-types library).

UPDATE

I just realized this only happens if you use the npm package, because it's not updated with the current github version (so the real request here would be to update the npm package :)

from react-select-plus.

Related Issues (20)

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.