this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Test queueMicrotask

+3 -2
+2 -1
src/utils/enhance-content.js
··· 244 244 } 245 245 246 246 if (postEnhanceDOM) { 247 - postEnhanceDOM(dom); // mutate dom 247 + queueMicrotask(() => postEnhanceDOM(dom)); 248 + // postEnhanceDOM(dom); // mutate dom 248 249 } 249 250 250 251 enhancedContent = dom.innerHTML;
+1 -1
src/utils/states.js
··· 180 180 181 181 // THREAD TRAVERSER 182 182 if (!skipThreading) { 183 - requestAnimationFrame(() => { 183 + queueMicrotask(() => { 184 184 threadifyStatus(status, instance); 185 185 if (status.reblog) { 186 186 threadifyStatus(status.reblog, instance);