You can send the following types of data from Python to the frontend:Īny JSON-serializable data gets serialized to a JSON string, and deserialized to its JavaScript equivalent. You send data from Python to the frontend by passing keyword args to your Component's invoke function (that is, the function returned from declare_component). The theme object has the following shape: Template) or (when using the plain TypeScript template). This object is sent in the same message asĪrgs, so it can be accessed via (when using the React
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |