Skip to content

Commit

Permalink
Test with React 18
Browse files Browse the repository at this point in the history
- reagent.dom uses old ReactDOM.render method
- New reagent.dom.client is used for the new API
- Only one new test case is testing Reagent with the new createRoot API,
  all old test cases use in React 17 mode.
  • Loading branch information
Deraen committed Nov 9, 2022
1 parent bf44f2b commit 428c850
Show file tree
Hide file tree
Showing 10 changed files with 438 additions and 128 deletions.
6 changes: 4 additions & 2 deletions .clj-kondo/config.edn
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{:lint-as {reagent.core/with-let clojure.core/let
reagenttest.utils/deftest clojure.test/deftest}
:linters {:unused-binding {:level :off}
:if {:level :off}
:unused-referred-var {:exclude {cljs.test [deftest testing is]}}}}
:missing-else-branch {:level :off}
:unused-referred-var {:exclude {cljs.test [deftest testing is]}}
;; Example namespaces use clashing names now
:redefined-var {:level :off}}}
Loading

0 comments on commit 428c850

Please sign in to comment.