I don't understand the concept of state and stateless filter in angular js. Could please explain it more. In angular js documentation mentioned "Many stateful filters can be converted into stateless filters just by exposing the hidden state"
first of all "state" means variables/properties of the entire application scope. And a statefull filter will have access to all these variable which is not necessary to perform desired action of the filter and stateless filter will not have access to any of the application variable instead the data necessary for that filter will be passed to it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With