What is React.PureComponent?

React treats a component as a Pure component if it extends the React.PureComponent base class. The most significant distinction between React.PureComponent and React.Component is uses of shouldComponentUpdate. In React.Component, the …

Read more

Laravel Model boot() Method

In Laravel eloquent model has a magical method called the boot() method. You can override the default behavior. Suppose you want to set up some field value at the moment …

Read more