What the easiest way to connect frappe to a frontend

if i want to use frappe as my go to framework for backend which front end framework integrate well with frappe ? or maybe how to best integrate the frontend framework to frappe ?

The current clean and scalable solution i found is to develop and design a REST API on top of frappe using fastAPI for example then connect the front to the REST




here is something we are buildling: GitHub - frappe/frappe-ui: A set of components and utilities for rapid UI development

still very alpha but will give you some insight


Thanks for your response and for this great framework that is Frappe !
some questions:

  1. Why frappe is going forward with Vue over React ?
  2. Do you know any “stable” alternative ? i am not searching for specific framework, i am searching for pattern / stack / best practice to connect front end to frappe