No, it is still would be very crippled imitation of REPL, merely interactive environment. For a language to have a fully-functional REPL, it is required to have at least some homoiconicity, which JS is not.
Let me demonstrate:
ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById('root')
);
Can you evaluate that in JS REPL? Can you evaluate any part of it?Now, let's naively "convert" that into Clojurescript:
(ReactDOM.render
[:h1 "Hello, world!"]
(document.getElementById "root"))
You can evaluate every single part of it. You can evaluate "Hello, world!" string; [:h1 ...] vector; document.getElementById function, all these are valid Clojure expressions.
In addition to that - Clojure example is so much easier to modify and change. With just a few keystrokes, you can do a lot.That's basically the workflow - in Clojure, you bootstrap an app with some small, core dependencies, then start a REPL, connect to it and keep modifying your app while running it. That is what gives so much praised productivity boost. It doesn't matter how fast your compiler is (in other languages) - "save & recompile" workflow never going to be as good as working with a "true" REPL.