Booz Allen Hamilton Interview Question

Explain how reactive programming works. Tell about why JS frameworks are used instead of vanilla JS.