Coding Challenge
Explore how to manage user input and application state in a React app using Transcrypt. Understand adding a confirmation prompt to replace alerts, handle user responses, and update the interface accordingly. This lesson helps you create more interactive front-end behavior using Python translated to JavaScript.
We'll cover the following...
We'll cover the following...
Problem statement
Currently our application takes input and shows it in an alert() dialog box.
With the way we are using the pyreact.py module as a bridge between Python and
JavaScript, it becomes easy to make more JavaScript functions available to our pure Python
modules.
For this code challenge, instead of just showing an alert(), we are going ...