Fork me on GitHub
#fulcro
<
2018-12-14
>
wilkerlucio00:12:37

hello everybody, I just posted an issue on Fulcro to suggest a new pre merge feature, if you like to interact a bit more with the development process and participate in the feature discussion, please check it at https://github.com/fulcrologic/fulcro/issues/265 thanks

👍 16
eric.shao08:12:36

a question about import normalize.css

1: yarn add normlaize.css 2 then add [:link {:href "/node_modules/normalize.css/normalize.css" :rel  "stylesheet"}] in ns.server-components.middleware index
but It doesn’t work . Both tried “/node_modules/…” and “node_modules/…” .Only
[:link {:href "" :rel"stylesheet"}]
can work.

jaihindhreddy-duplicate08:12:04

^ There's a type in normalize (written as normlaize) but not sure it's the culprit.

eric.shao08:12:18

and why every time I (restart) It fails.

(in-ns 'user)
=> #object[clojure.lang.Namespace 0x2c71ca8e "user"]
(start)
18-12-14 08:52:50 ericdeAir INFO [weilan.server-components.config:9] - Loading config config/dev.edn
INFO [fulcro.server:62] : Reading configuration file at  config/defaults.edn
INFO [fulcro.server:62] : Reading configuration file at  config/dev.edn
=>
{:started ["#'weilan.server-components.config/config"
           "#'weilan.server-components.middleware/middleware"
           "#'weilan.server-components.http-server/http-server"]}
(restart)
:reloading (user)
:error-while-loading user
=> java.io.FileNotFoundException: Could not locate user__init.class or user.clj on classpath.

eric.shao08:12:25

@jaihindh.reddy en… thank you for reply me , But I do not know what you mean.😊

jaihindhreddy-duplicate09:12:36

1: yarn add normlaize.css I think it's 1: yarn add normalize.css

eric.shao10:12:42

@jaihindh.reddy oh, hehe.I typed wrong here,but not in my project.I can see it in my node_modules.😀

Adam Toth13:12:34

Hi all, anyone use the websockets remote with parallel queries before? It seems to work fine on the client, but the server seems to queue up requests and execute them one-at-a-time sequentially. Is there a reason for this?

👍 8
Adam Toth14:12:19

we tried monkey-patching it to wrap fulcro.websockets/sente-event-handler body in a future and seems to work fine since it uses callbacks

🙈 4
Adam Toth14:12:53

this is a pretty nasty hack and we would very much prefer to avoid it 🤢