Fork me on GitHub
#fulcro
<
2020-02-29
>
mruzekw01:02:01

Not sure if anyone is on, but does the Fulcro-flavor of React support hooks?

mruzekw05:02:16

Is it on the roadmap / would you accept a PR?

bbss09:02:04

@mruzekw I'm also using hooks a lot recently, mostly because of rxjs and https://github.com/react-spring/react-three-fiber. What I'm currently exploring is using hx when I don't need form support, and rendering that within fulcro components.

Aleed18:03:45

I’ve started doing the same but with #helix

👍 4
tony.kay18:02:23

hooks are possible, but no time to add support. i can help anyone that wants to try to add support

Aleed18:03:33

what about making Fulcro independent of renderer? So that it’s state management and sanity checks could be used with other react wrappers, and let user handle initializing/loading state themselves

bbss14:03:14

was also wondering about this, but I know it's probably a lot to ask

bbss15:03:30

would it be difficult to add hooks? I know there was some experimenting with it earlier, I thought I saved the gist but can't find it.

dvingo23:02:52

hi, I'm getting an error connecting to the shadow nrepl server via cursive. I'm starting a project using this template: https://github.com/fulcrologic/fulcro-template I executed npx shadow-cljs server in cursive: added a remote nREPL pointing at localhost:9000. • when I start the REPL and see in the output pane: Connecting to remote Socket REPL... EOF while trying to sync input stream. EOF while trying to sync input stream. Exception starting REPL: http://java.net.SocketException: Broken pipe (Write failed)Disconnected from remote server. Disconnected from remote server. Disconnected from remote server. I'm running JDK13, not sure if that's meaningful or not. any thoughts on how to resolve?

4
bbss14:03:14

was also wondering about this, but I know it's probably a lot to ask

bbss15:03:30

would it be difficult to add hooks? I know there was some experimenting with it earlier, I thought I saved the gist but can't find it.