-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(devtools): add graph view * fix(devtools): graph view filters * fix(persist): prevent extra computed calls * fix(persist): do not accept an action * fix(persist): computed handling * fix(url): computed handling * docs: improve react-search example * feat(jsx): add FC type * feat(jsx): add MouseEventHandler type * fix(utils): prettify toStringKey output * fix(utils): toStringKey for Symbol.for * feat(devtools): graph view * fix(jsx): bool attribute * fix(jsx): types * fix(devtools): search matching * feat(utils): improve toStringKey * test(utils): fix toStringKey * fix(devtools): another huge refactoring * feat(devtools): exclude filters * feat(effects): explicit spawn action * fix(async): cache cause handling * test(async): infinity cache invalidation * docs(jsx): types * fix(devtools): filters enum * fix(devtools): filters highlight * feat(devtools): connectDevtools returns log function
- Loading branch information
Showing
24 changed files
with
1,518 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom/client' | ||
import { createCtx, connectLogger } from '@reatom/framework' | ||
import { connectDevtools } from '@reatom/devtools' | ||
import { reatomContext } from '@reatom/npm-react' | ||
import { App } from './app' | ||
|
||
const ctx = createCtx() | ||
|
||
connectLogger(ctx) | ||
connectDevtools(ctx) | ||
|
||
const root = ReactDOM.createRoot(document.getElementById('root')!) | ||
root.render( | ||
<React.StrictMode> | ||
<reatomContext.Provider value={ctx}> | ||
<App /> | ||
</reatomContext.Provider> | ||
</React.StrictMode>, | ||
<reatomContext.Provider value={ctx}> | ||
<App /> | ||
</reatomContext.Provider>, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.