Random question. Are there any here who have any experience with cljs source targeting nodejs ? Working on a project that requires NodeJS, wondering if there are some opportunities to use clojurescript. Seems possible, but has anyone had any success doing it ?
Hi, check out macchiato: https://github.com/macchiato-framework
Yep, I write a lot of nodejs scripts. (although recently I use #babashka more). Message me or post here if you have any questions
lumo?
@cgdeboer there is a build option to target nodejs, yes
just to save some face for django, here is their regex https://docs.djangoproject.com/en/2.2/_modules/django/core/validators/
TIL history.pushState
does not trigger the hashchange
event. So if you want to navigate to a new page in your SPA and to also scroll to a particular anchor within that page, you will have to jump through some hoops.
Got it working in Chrome with setTimeout
+ scrollIntoView
. But of course that doesn't work in FF for some reason.