react-music-player
react-music-player copied to clipboard
UNSAFE_componentWillReceiveProps error in strict mode
Version
4.24.2
Description
I tried adding react-jinke-music-player
to my website made in React JS.
I imported everything and added the component.
When I run the project, I get a few errors and the player isn't showing:
Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code... Warning: findDOMNode is deprecated in StrictMode....
Steps
ReactDOM.render(
<React.StrictMode>
<ReactJkMusicPlayer
audioLists={[{
name: 'Test',
musicSrc: 'https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3',
cover: 'https://picsum.photos/200/300',
}]}
/>
</React.StrictMode>,
document.getElementById('root'),
);
me too, any fix please ?