-
-
Notifications
You must be signed in to change notification settings - Fork 328
Button to create a component / Transitioning between templates #1095
-
Hi, I am new to react, html and css, but have some experience on python. Now, with react.py, I am trying to code a web app and encountered these doubts: 1) is it possible to have a buttom with a function that generates a new component? For example, a buttom that creates a table. 2) How can I transition from one template to another?
Beta Was this translation helpful? Give feedback.
All reactions
Answered by
Archmonger
Jul 11, 2023
Yes. Both of these are achieved through conditional rendering.
The in-progess docs has an example on this.
Replies: 1 comment
-
Yes. Both of these are achieved through conditional rendering.
The in-progess docs has an example on this.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Answer selected by
Archmonger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment