jazzypants1989 / jessquery

Modern JavaScript is pretty good, but typing `document.querySelector()` is a pain. This is a tiny library that makes DOM manipulation easy. jQuery is around 30kb, while this is only around 3.5kb. Lots of JSDoc comments so it's self-documenting and works great with TypeScript.
119 stars 1 forks source link

New Async Architecture & Error Handling #2

Closed jazzypants1989 closed 1 year ago

jazzypants1989 commented 1 year ago

This library was kind of useless before as you couldn't do things over time. Now, the chains automatically handle asynchronous tasks by maintaining internal queues. Each queue operates independently of each other.

I also added error handling which was basically non-existent before. Currently, it just throws the error and logs it to the console, but if you want to do anything else you can use the new setErrorHandler export.

stackblitz[bot] commented 1 year ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.