Brian Takita

Results 117 comments of Brian Takita

If vite fixes the issue https://github.com/vitejs/vite/issues/12253, then this PR should work. In the meantime, I added https://github.com/btakita/PapaParse/tree/vite-plugin-top-level-await, which will work in server side vite builds using the [vite-plugin-top-level-await](https://github.com/Menci/vite-plugin-top-level-await) plugin package.

From the [globalThis docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis): > Historically, accessing the global object has required different syntax in different JavaScript environments. On the web you can use [window](https://developer.mozilla.org/en-US/docs/Web/API/Window/window), [self](https://developer.mozilla.org/en-US/docs/Web/API/Window/self), or [frames](https://developer.mozilla.org/en-US/docs/Web/API/Window/frames) - but...

I found [vite docs re: strict mode](https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility). > Syntax Error / Type Error happens >Vite cannot handle and does not support code that only runs on non-[strict mode](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode) (sloppy mode)....

To answer your first question: the error message is in the title: `error Cannot set properties of undefined (setting 'Papa')`

I can confirm that the promises have an effect. I went ahead & implemented a synchronous buffered write using `ArrayBuffer`, `Uint8Array`, & a write queue. I was able to complete...

> The term “signal” has been widely used in the web frontend community for this concept. I wanted to build off of that meme so that this proposal could be...

> i wouldn't see any backend code using this. FWIW, I use a reactive graph for my domain objects on both the browser & server. It allows code to be...

Maybe I misunderstood the intent of the quote & the definition of "live": > If possible: A computed Signal should be garbage-collectable if nothing live is referencing it for possible...

I have a better grasp on mapping the nomenclatures. In rmemo, a memo (equivalent to a Computed) can also be an effect. So Computed & effect are combined. The memo...

> you can register the watcher yourself in a finalization registry to auto-unmount. the reference impl in this repo currently wouldn't allow for this since one needs a strong reference...