This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-15
Channels
- # announcements (11)
- # beginners (66)
- # boot (6)
- # clara (25)
- # cljdoc (4)
- # cljs-dev (22)
- # clojure (261)
- # clojure-dev (1)
- # clojure-europe (2)
- # clojure-italy (15)
- # clojure-losangeles (1)
- # clojure-nl (19)
- # clojure-spec (62)
- # clojure-uk (50)
- # clojurescript (12)
- # community-development (6)
- # cursive (60)
- # datomic (21)
- # emacs (2)
- # figwheel (2)
- # figwheel-main (3)
- # fulcro (2)
- # graphql (11)
- # hyperfiddle (11)
- # javascript (1)
- # jobs (6)
- # juxt (1)
- # kaocha (5)
- # keechma (2)
- # off-topic (4)
- # onyx (10)
- # pathom (7)
- # re-frame (15)
- # reagent (8)
- # remote-jobs (2)
- # ring-swagger (14)
- # shadow-cljs (35)
- # sql (22)
- # testing (9)
- # tools-deps (62)
- # vim (12)
Hi, Is anybody already used posed (react-pose) from popmotion with reagent. I have no problem to use react-spring but can’t make react-pose work ... Many thanks
@polymeris yes diffing strings is not part of React's job spec
@ouvasam it will be hard to diagnose anything without seeing some code. In general anything in React should work, or can be made to work, in Reagent
(I already posted this in beginners, but this might be a better venue - my apologies if i'm breaking protocol/etiquette...)
Hi, I'm trying to add a set of default styles on (for example) a material-ui button. In the code below, I'd like styles
to be applied to the button
- but I'm not sure where/when/how to apply it.
(ns ui.buttons.basic
(:require [reagent.core :as r]
[stylefy.core :as s]
["@material-ui/core/Button" :default Button]))
(def styles {:background-color "red"})
(def button (r/adapt-react-class Button))
I want to be able to (require [ui.buttons.basic :as b])
and use the button with the red background. Am I missing something obvious? I'm using shadow-cljs to have access to material-ui like that...Thanks!Hi @pesterhazy and thanks for your reply
@ouvasam see the translation table here https://shadow-cljs.github.io/docs/UsersGuide.html#_using_npm_packages