mtreinik / alkuaanet Goto Github PK
View Code? Open in Web Editor NEWAlkuaanet gives initial notes of acapella songs.
License: MIT License
Alkuaanet gives initial notes of acapella songs.
License: MIT License
If the user initiates audio playback and navigates to a new page before the playback is finished, the following message will be added to the console log:
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in SongItem (created by WithStyles(SongItem))
in WithStyles(SongItem) (at SongList.tsx:25)
Expected behavior: no console warnings.
The warning is a result of NoteAudioPlayer trying to call handleEndPlayback callback on a component that has already been unmounted, since the user has navigated away from the component before the playback was finished.
The same warning will be shown if requested playback hasn't started before user has navigated away from the component.
This could be fixed by adding function cancelPlaybackHandling, which would cancel the calling of currently pending handleStartPlayback and handleEndPlayback callbacks.
If the same song is added multiple times in the playlist, removing one instance of the song removes all instances of the song from the playlist.
This happens because songId is used to remove song from playlist.
Expected outcome: it should be possible to remove one instance of the song from the playlist, leaving other instances of the same song in the playlist.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.