react.js

Problems with the main patterns of creating data-driven apps in React.js

For interface creation, React recommends using composition and state management libraries for building component hierarchies.However, with complex patterns of composition problems emerge: Need to unnecessarily structure child elements Or pass them as props, which complicates readability, semantics and code structure For the majority of developers, the problem may not be obvious, and they pass it …

Problems with the main patterns of creating data-driven apps in React.js Read More »

Redux – Not needed! Replacing with useContext and useReducer in React?

Good day, Habr readers! I want to tell you about how I recently found out about some “hooks” in React. They appeared relatively recently, in version [16.8.0] ofFebruary 6, 2019 (which in terms of FrontEnd evolution speed – is very long ago) Having read the documentation, I focused my attention on useReducer hook and immediately …

Redux – Not needed! Replacing with useContext and useReducer in React? Read More »