python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Is a forEach in redux reducer an anti-pattern?
I have a forEach loop which checks if a certain attribute of data coming in includes '/' if it does im replace the '/' with '-', i was wondering if that is valid redux code or im creating some sort of...
karterkortland
Votes: 0
Answers: 1
How to fix React Warning : Can't perform a React state update on an unmounted component
Whenever if there is any asynchronous task performing related to component and that component unmounts then React generally gives this warning -
Can't perform a React state update on an unmounted comp...
user15650989
Votes: 0
Answers: 1
Is there an alternative to Template Method pattern when using common logic?
I have a problem. Most of the solutions in the project follow the Template Method design pattern. At the same time, along with the complexity of business logic, solutions are becoming more and more co...
Learner
Votes: 0
Answers: 1
Is folder name shadowing 3rd-party package name or Python module name is an anti-pattern?
Consider the following (very simplified) project structure:
project/
src/
collections/
validators/
foo/
bar/
The "collections" sub-directory name shadows...
Nairum
Votes: 0
Answers: 1