fulcro

2025-03-09T03:35:20.412269Z

I'm having trouble with controlled inputs. I'm not sure if it's a hooks-based component thing or not. is there some subtle requirement I'm missing, like a whole subtree needing to be hooks-powered, or an alternative dom library for using with hooks? I keep getting errors and "`findDOMNode` is not a function".

2025-03-09T03:45:51.654599Z

huangzlong 2025-03-09T09:46:23.208599Z

are you using react 19? it seems react 19 removed this function.

2025-03-09T14:59:58.449759Z

ah, so I am. I'll try the latest 18.

2025-03-09T15:31:53.571409Z

same problem on 18.3.1, even though the docs for 18 show it as deprecated but not removed.

2025-03-09T15:54:17.369689Z

ah, no, that was a caching issue. nuking some build files etc. got it running 18.3.1 properly. now I get a warning about findDOMNode rather than failure.

2025-03-09T15:58:31.359389Z

so I guess that's a React compatibility issue to report - findDOMNode was removed and it's still relied on by (at least) the wrapped inputs.

quan xing 2025-03-09T10:41:13.891609Z

I read the http://book.fulcrologic.com . why Fulcro Inspect is not working.

huangzlong 2025-03-09T12:01:18.137199Z

the new version of fulcro inspect chrome extension needs a higher version of fulcro. maybe the book site is not updated? https://clojurians.slack.com/archives/C68M60S4F/p1736952226793049?thread_ts=1736952226.793049&cid=C68M60S4F

quan xing 2025-03-09T12:25:54.100839Z

thanks

tony.kay 2025-03-09T19:08:46.401539Z

crap…thanks for the reminder. I keep forgetting to update the book!

tony.kay 2025-03-09T19:10:42.921829Z

I need to add a missing function to the new inspect so that the book can “focus inspect”, which I didn’t forward-port