Fork me on GitHub
#fulcro
<
2021-07-13
>
mlimotte12:07:47

Posting this here, because we’d like to find an experienced Fulcro developer specifically. (3+ month CONTRACT or FULL-TIME) ---------- We’re hiring a full-time (or contractor) developer in the US. It’s all Clojure and Clojurescript. If you like dynamic and data-driven architectures, I’d love to talk to you. QUALIFICATIONS • Two years or more with frontend technologies and programming • Some experience and familiarity with ClojureScript (or Clojure and other frontend technology) • Experience with React and modern approaches for building a SPA (Single Page App) • Comfortable working at a startup, prior startup experience (fast-paced, rapid iteration, evolving requirements) • An understanding and preference for data-driven architectures • Must have ideas and opinions. What do you want to explore? • Bonus: Any experience with the AEC (Architecture, Engineering, Construction) industry is appreciated. Have you worked in the AEC industry before? Have you engaged in your own home renovations? Have you changed a light fixture or painted your home? Anything?  • Bonus: Any experience with Datomic • Bonus: WebGL / three.js or Unity Engine development • Bonus: Experience with Fulcro, EQL or other graph querying, CQRS FUNCTIONS • Shape our user-facing Clojure, ClojureScript, and Datomic stack • Participate in all phases of the work: design, coding, debugging, documentation, etc • Performs system analysis and programming activities that may require research • Help to gather requirements from the product, marketing, and operations teams • Responsibility for managing your own tasks and sprints Full job post: https://www.linkedin.com/jobs/view/2632816567/ Apply through that link or email me. Marc CTO & Co-founder, Skipp

fulcro 9
🚀 2
sheluchin19:07:44

For those of you using clj-kondo, what are you mapping pc/defresolver to under the :lint-as config key? Is it just clojure.core/def?

tvaughan19:07:21

(ns hooks.fulcro
  ""
  {:author "Adam Helins"}
  (:require
   [clj-kondo.hooks-api :as hook]))

(defn defmutation
  [{:keys [node]}]
  (let [[_call
         sym
         & arg+] (:children node)
        docstring (first arg+)
        [[param+
          & fn-like+]
         docstring-2] (if (hook/string-node? docstring)
                        [(rest arg+)
                         docstring]
                        [arg+
                         nil])]
    {:node (hook/list-node (concat [(hook/token-node 'defn)
                                    sym]
                                   (when docstring-2
                                     [docstring-2])
                                   [param+
                                    (hook/vector-node (map #(let [[_sym
                                                                   arg+
                                                                   & body] (:children %)]
                                                              (hook/list-node (list* (hook/token-node 'fn)
                                                                                     arg+
                                                                                     body)))
                                                           fn-like+))]))}))

tvaughan19:07:34

{:lint-as
 {clojure.test.check.properties/for-all clojure.core/let
  com.fulcrologic.fulcro.components/defsc clojure.core/defn
  com.fulcrologic.fulcro.routing.dynamic-routing/defrouter clojure.core/defn
  com.fulcrologic.fulcro.ui-state-machines/defstatemachine clojure.core/def
  com.wsscode.pathom.connect/defresolver clojure.core/defn}
 :hooks
 {:analyze-call {com.fulcrologic.fulcro.mutations/defmutation hooks.fulcro/defmutation}}}

sheluchin19:07:25

Thank you, @U0P7ZBZCK.

👍 2
borkdude19:07:37

it is possible to contribute this config to the library itself so you will get it automatically when you use the --copy-configs option while linting the library

Björn Ebbinghaus20:07:52

@U04V15CAJ When I say clj-kondo three times into the mirror, will you appear? 😄

😂 7
😅 2