react

Singleton-like Context for shared components managent

Are you handling external modules or shared config in your React projects?
Read more

Setup external modules with React Context

A pattern that is helpful when you use external modules in your app.
Read more

Safer (and fast) refactoring in React

How snapshot testing is great for refactoring
Read more

State management - more than 'isLoaded'

Async state management can be done better than setting flags ‘isLoaded’ and ‘isLoading’. What’s better?
Read more

Learning React - hooks or classes

React exposes 2 general types of writing components. First - older is classes. Newer one - functional with hooks. Which is better?
Read more