add a clear method which removes characters in batch in a single event loop, thus no delay is noticeable. The current delete all version splits up deletion in single events which result in a delay because the loop is tick based.
check the type of speed in deleteAll instead of if it is truthy. This will allow the user to specify a potential delay of 0
Bump dependencies
Minor changes:
typo fixes
React and react dom have been pinned to the current version instead of the .x release. This can and should probably be changed.
Main changes:
clear
method which removes characters in batch in a single event loop, thus no delay is noticeable. The current delete all version splits up deletion in single events which result in a delay because the loop is tick based.speed
indeleteAll
instead of if it is truthy. This will allow the user to specify a potential delay of 0Minor changes:
React and react dom have been pinned to the current version instead of the .x release. This can and should probably be changed.