Skip to content

Instantly share code, notes, and snippets.

@wavejumper
Created April 30, 2025 02:04
Show Gist options
  • Save wavejumper/99d5af5bab2e4f21e4d33b9e83e29b54 to your computer and use it in GitHub Desktop.
Save wavejumper/99d5af5bab2e4f21e4d33b9e83e29b54 to your computer and use it in GitHub Desktop.
shadow-cljs-react-profiling

React18+

:js-options {:resolve {"react-dom/client" {:target  :npm
                                           :require "react-dom/profiling"}}}

React17

:js-options {:resolve {"react-dom"         {:target  :npm
                                            :require "react-dom/profiling"}
                       "scheduler/tracing" {:target  :npm
                                            :require "scheduler/tracing-profiling"}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment