Exercises

3. What happens if you attempt to create a reactive graph with cycles?

x <- reactiveVal(1)
y <- reactive(x + y())
y()

When we start the session, y would not exist and thus y() would return an error since y is a reactive expression that consists of itself.