This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-17
Channels
- # announcements (2)
- # aws (7)
- # beginners (46)
- # cider (15)
- # clj-kondo (24)
- # cljs-dev (3)
- # clojure (46)
- # clojure-dev (34)
- # clojure-europe (7)
- # clojure-italy (7)
- # clojure-nl (10)
- # clojure-norway (15)
- # clojure-spec (5)
- # clojure-uk (42)
- # clojuredesign-podcast (1)
- # clojurescript (79)
- # clr (3)
- # core-async (1)
- # cursive (45)
- # data-science (1)
- # datomic (4)
- # fulcro (17)
- # funcool (14)
- # gorilla (2)
- # graphql (30)
- # jackdaw (5)
- # jobs-discuss (8)
- # joker (4)
- # lein-figwheel (1)
- # off-topic (48)
- # pedestal (26)
- # re-frame (36)
- # reagent (18)
- # reitit (6)
- # remote-jobs (4)
- # shadow-cljs (115)
- # tools-deps (62)
- # vim (12)
I think I've found a bug. In http://book.fulcrologic.com/fulcro3/#NetworkInteractionsandForms if i change a phone number, the submit button isn't enabled.
I think it's because (fs/dirty? person)
uses the the denormalized props from PersonForm, and PersonFrom isn't refreshed when PhoneForm changes.
Is anyone using fulcro with emacs? I am trying to follow the fulcro book, but am having problems in starting the server, since the repl jack-in does not seem to work for the clojure when the clojurescript-jackin is already running
@U49RJG1L0 What version of emacs are you using? Are you able to start the clojure repl without the cljs-repl?
I use spacemacs 0.200.13 and I am able to start the repl, but it does not load the :dev alias. And I am unable to bring it to do so
The default jack in command does not specify aliases. This article will guide you on fixing this:
http://jr0cket.co.uk/2019/07/CIDER-jack-in-to-Clojure-CLI-projects-from-Spacemacs.html
Steps:
1. Create a file called .dir-locals.el
in your project directory.
2. Add this line of code: ((clojure-mode . ((cider-clojure-cli-global-options . "-A:dev"))))
This will add the dev alias your deps.edn
file when starting the repl
After upgrading to FC2 (that uses react16), I’m also getting Uncaught TypeError: Cannot read property 'any' of undefined
. Which I think is related to the prop types module being remove from React, but I assume Fulcro is pulling in the new prop-types module not the one that ships with React. Any ideas? This error is pointing directly to my Root
defsc component
@maxt it is very possible. The refresh story has changed, so a parent that relies on derived state can have such issues.
@tony.kay ok, thank you for confirming. Would you say getting the data in the mutation instead (maybe using db->tree) is a good approach? Or would it be better to somehow get the parent to refresh?