Comments (5)
@orolle Thanks for opening this issue, and I agree! I also enjoy using namespaced keywords and think the template should be updated to reflect that. This would be an easy PR if anyone wants to pick it up :) Otherwise I'll be able to get to it in a few days (currently in transit).
from re-frame-template.
Template now uses namespaced keywords
from re-frame-template.
Are you sure you did that right? I got (re-frame/subscribe [::subs/name]) in the views and I would rather expect just one ':' (the compiler also complains).
from re-frame-template.
@panewman yeah, pretty sure.
The documentation can be found here (see last bullet underneath keywords):
https://clojure.org/reference/reader#_literals
And for a more digestible reference (see the end of the post):
https://kotka.de/blog/2010/05/Did_you_know_III.html
If the compiler is complaining, it is likely you are trying to reference a subscription that isn't defined in the subs namespace yet.
from re-frame-template.
I probably missed some compiler error in the subs namespace, that prevented the definition of subs/name.
Thank you very much.
from re-frame-template.
Related Issues (20)
- Unable to run `lein dev` HOT 8
- npm dependency is culled out when I run lein dev HOT 20
- Installation instructions for newbies HOT 4
- Add lein-scss option HOT 2
- The upgrade of shadow-cljs to 2.10.17 breaks cider-jack-in-cljs HOT 8
- server.clj errors when port is given from environment HOT 1
- REPL Jack-in is not working at the Calva under WSL2 HOT 4
- How to have the app.HASH.js being automatically referenced in the index.html? HOT 1
- Watch backend task HOT 2
- Add cider/cider-nrepl plugin HOT 3
- The required namespace "react" is not available HOT 7
- `lein watch` crashes on new project if `yarn` is used HOT 3
- Calva jack-in and connect broken since shift to shadow-cljs only
- Missing project.clj file HOT 3
- Make a fallback to index.html correctly HOT 1
- Hot reloading can break navigation with +routes option HOT 2
- Conduit is overrun with spam. Demo unviewable
- Browser console error - "The message port was closed before a response was received" HOT 3
- Template resource 'leiningen/new/re_frame/.github/workflows/test.yaml' not found. HOT 2
- clj-kondo config is not rendered correctly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from re-frame-template.