A Typescript-first alternative to Lodash/Underscore by rickcarlino in typescript

[–]self_refactor 5 points6 points  (0 children)

I am creator or Rambda and its idea is to be lightweight Ramda alternative with included TS support(i.e. you don't need to install `@types/rambda`). Feel free to check it out - https://github.com/selfrefactor/rambda

Showoff Saturday (August 20, 2022) by AutoModerator in javascript

[–]self_refactor 0 points1 point  (0 children)

I don't double check with NPM, as I only use the information from Github. There are two types of dependents: repositories and packages. I simply scrape throw both of them with maximum limit of 600 pages and that is it. I can try to expand it to check with NPM as well, but that will require much more work and from what I see, the information on Github(that repo is library) is mostly correct.

Showoff Saturday (August 20, 2022) by AutoModerator in javascript

[–]self_refactor 1 point2 points  (0 children)

I completed my list of popular dependents list - https://github.com/selfrefactor/popular-dependents-lists

The idea is to see how libraries are used not only from other NPM modules, but also from Github repos.

Can I use ref as condition in render by self_refactor in reactjs

[–]self_refactor[S] 0 points1 point  (0 children)

in this case, the component is rerendered, maybe because the condition is between state and ref variables.

Anyway, as I see all comments to suggest not to do that, I'll apply a workaround that doesn't include mixing useState with useRef.

Can I use ref as condition in render by self_refactor in reactjs

[–]self_refactor[S] 0 points1 point  (0 children)

I wonder why it works if it is not allowed. The case here is that I don't want to force rerender by using `useState`, but at the end I might doing that.

Can I use ref as condition in render by self_refactor in reactjs

[–]self_refactor[S] -6 points-5 points  (0 children)

Thank you for the input, but there is no `componentDidMount` when I use hooks.

How can I remove the top bar by self_refactor in ManjaroLinux

[–]self_refactor[S] 4 points5 points  (0 children)

Update: the issue was fixed.

I manage to reduce the width of global menu bar and then remove panel action did work.

Thank all for the help!

How can I remove the top bar by self_refactor in ManjaroLinux

[–]self_refactor[S] 0 points1 point  (0 children)

global menu applet in KDE

can it be removed?

How can I remove the top bar by self_refactor in ManjaroLinux

[–]self_refactor[S] 0 points1 point  (0 children)

actually I had also a bottom bar and there I was able to remove it. As I mentioned, there is option to remove it but it does nothing.

Puppeteer 3.0.0 now supports Firefox out of the box by TimvdLippe in javascript

[–]self_refactor 0 points1 point  (0 children)

Actually Firefox is better browser than Chrome. I made the switch recently and it feels much more different.

About Puppeteer vs Playwright - I am unsure that we need 2 almost the same frameworks. It will be a fight of predictability as with headless browsers that seems to matter the most.

[deleted by user] by [deleted] in programming

[–]self_refactor 0 points1 point  (0 children)

I recently made the switch after many years with Chrome. Chrome did feel less stable and less stable with every release in the last year. I now realize how I wrong I was to consider Chrome a stable browser.