Check out example codes for "fullscreen tkinter". It will help you in understanding the concepts better.

Code Example 1

import tkinter as tk
root = tk.Tk()

root.overrideredirect(True)
root.overrideredirect(False)
root.attributes('-fullscreen',True)

Code Example 2

selfName.state('zoomed')

Learn ReactJs, React Native from akashmittal.com