A data-driven framework for frontend web applications