Yes; transpiling to plain JavaScript is really what ClojureScript was designed to do. You can also very easily call existing JavaScript from ClojureScript code, so you may be able to start using ClojureScript without having to rewrite all of your existing code.
> On 1 Jul 2021, at 15:52, Oliver Baumann <[email protected]> wrote: > > > Just figuring, it might be good to check whether I can achieve with > ClojureScript what I want to do: > > We have a website with some JavaScript functionality (some reading of JSON > data, some calculations, etc). > > I'm planning to (re)write and extend the JavaScript parts with ClojureScript > (to learn Clojure and to keep the site better maintainable). For this I would > like to write ClojureScript, transpile it with clj, copy the JavaScript > output to the web server and then view our HTML page which includes/loads the > JavaScript. > > Feasible? > > Many thanks for any pointers! > > -- > Note that posts from new members are moderated - please be patient with your > first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojurescript/dcdad66e-a8c5-4cbd-ac56-2fb7e1ce6de1n%40googlegroups.com. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/clojurescript/C9911D56-64CE-4F72-890D-2FC6C9D730F0%40gmail.com.
