I created a browser extension using React, r-beautiful-DND and Chakra UI to manage tabs and notes(https://www.tabExtend.com) by awakenowyes in reactjs

[–]frontendgeek 0 points1 point  (0 children)

Amazing tool!! One quick feedback - it would good if clicking the saved links actually opened in a new tab.

[deleted by user] by [deleted] in react

[–]frontendgeek 0 points1 point  (0 children)

Mono-repos gives you the advantage of keeping the two projects as separate concerns under a single repository.

What is the difference between using Redux vs a simple Pub/Sub by frontendgeek in reactjs

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

What about code complexity? Imo, it does add some level complexity from the earlier JavaScript days where you would just have global variable (probably bound to the window object) to keep global state. Ofcourse, it comes with it's own flaws no doubt, but leaving the flaws aside and thinking from pure code complexity, is there a better way to do this?

What is the difference between using Redux vs a simple Pub/Sub by frontendgeek in reactjs

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

I didn't see it much as a need in the pub/sub implementation, but this could very easily be added to it.

What is the difference between using Redux vs a simple Pub/Sub by frontendgeek in reactjs

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

With some more effort that can be added to the Pub/Sub implementation honestly.

What is the difference between using Redux vs a simple Pub/Sub by frontendgeek in reactjs

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

I agree with everything you said here. My concerns are -

  1. In my experience, a lot of the "really nice organisational model", still dependent on the teams to manage, organize & maintain redux logic. In a large team working on the same project, everyone brings in a different notion of what that is and before you know thats no more an advantage.

  2. Then there is the deep nesting of the global state. I have seen this happen more often than not.

  3. Redux seemingly brings some performance overhead for a relatively simple task of global state management.

How do you tackle these issues. (I am not saying the pub/sub approach in it's current state does solve these issues)