Closed SevereOverfl0w closed 3 years ago
Previously, a component containing a quoted form with a hook in would have been caught by the hooks detection (example below). Additionally, avoiding the postwalk improves the performance of the find-hooks function.
(defnc foo [] (d/div (d/h1 "Usage example") (d/code (pr-str '(use-foo)))))
Previously, a component containing a quoted form with a hook in would have been caught by the hooks detection (example below). Additionally, avoiding the postwalk improves the performance of the find-hooks function.