 
 	private var rendering: Bool = false
 
+	private var renderQueued: Bool = false
+
 	/// Initializes the component with its initial state. The render function 
 	/// takes the current state of the component and returns the element which 
 	/// represents that state.

	}

	private func update() {
		if rendering { return }

		rendering = true


		componentDidUpdate()

		rendering = false

		if renderQueued {
			renderQueued = false
			update()
		}
	}

	/// Update the component without changing any state.
