react-speech-kit icon indicating copy to clipboard operation
react-speech-kit copied to clipboard

react-speech-kit support in React-18?

Open fahadashiq12 opened this issue 2 years ago • 5 comments

I am trying to install react-speech-kit in react-18 project but it didn't work out? Any alternatives to this library I want the specific section of my react application to implement text-to-speech functionality.

fahadashiq12 avatar Jun 08 '22 07:06 fahadashiq12

Note: The Project is in Typescript

fahadashiq12 avatar Jun 08 '22 07:06 fahadashiq12

@fahadashiq12 if you're looking for text-to-speech in React 18 with TypeScript you can try tts-react. I've been developing it over the past couple of weeks but should be considered production ready.

morganney avatar Sep 07 '22 14:09 morganney

@fahadashiq12 if you're looking for text-to-speech in React 18 with TypeScript you can try tts-react. I've been developing it over the past couple of weeks but should be considered production ready.

@morganney thanks. Even I was going to open this issue.

asadullahehsan avatar Sep 09 '22 14:09 asadullahehsan

I am trying to install react-speech-kit in react-18 project but it didn't work out? Any alternatives to this library I want the specific section of my react application to implement text-to-speech functionality.

@fahadashiq12 , Same here! Now I was going to open this issue Actually they need to do two things

  1. Give support for React version 18
  2. Make a defined types file to support ts

asadullahehsan avatar Sep 09 '22 14:09 asadullahehsan

@MikeyParton , please help us out with this issue. Thanks.

asadullahehsan avatar Sep 09 '22 14:09 asadullahehsan

@asadullahehsan @fahadashiq12 Hello all, I found myself here and figured out there's nothing in this package that won't work on React18. I installed the package with: npm install --legacy-peer-deps react-speech-kit

gr1pcoding avatar Feb 05 '23 13:02 gr1pcoding

@gr1pcoding , we can do that, no doubt. But would it be safe for the whole project in the long run? As there are already 5-6 more npm packages used in this project. This is not the only one package being used with React 18.

asadullahehsan avatar Feb 05 '23 17:02 asadullahehsan

@asadullahehsan I didn't see any dependencies listed in package.json so it didn't seem to be an issue, the two source files don't import anything other than react. I'm just using this in a personal project though so hadn't given it much thought.

gr1pcoding avatar Feb 05 '23 17:02 gr1pcoding

I try with npm install react-speech-kit -f and it's working fine.

rakibulinux avatar Feb 15 '23 13:02 rakibulinux

I guess this issue has been resolved closing this one.

fahadashiq12 avatar Feb 25 '23 07:02 fahadashiq12