Interact with the REPL via your editorλ︎
Your editor should either be running the Clojure/ClojureScript REPL's or connected to the REPLs run with
Note::Edit welcome messageλ︎
Edit the message [:h3] in the
hello-worldcomponent and see how it changes in the web browser
Note::Change the title by editing the
Change the :text message in
app-stateand see what happens in the browser
When you save a change to the
app-state nothing happens in the browser.
As we use
defonce rather than
def, then Clojure does not update the definition if it already exists. This prevents your app state from being cleared every time you save a change in your editor.
To see the change of a
defonce you need to refresh your browser page.