Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
d7efafab
Verified
Commit
d7efafab
authored
Jan 13, 2023
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[react] roll back to react 17.x, since 18.2 requires some more work
And we don't want to break the release yet.
parent
771b75f7
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
19 deletions
+18
-19
package.json
package.json
+1
-1
packages.dhall
packages.dhall
+2
-2
App.purs
src/Gargantext/Components/App/App.purs
+0
-2
Reactix.purs
src/Gargantext/Utils/Reactix.purs
+0
-3
Main.purs
src/Main.purs
+4
-2
yarn.lock
yarn.lock
+11
-9
No files found.
package.json
View file @
d7efafab
...
...
@@ -57,7 +57,7 @@
"
pullstate
"
:
"
^1.20.6
"
,
"
react-awesome-popover
"
:
"
^6.1.1
"
,
"
react-bootstrap
"
:
"
^1.5.2
"
,
"
react-dom
"
:
"
^1
8.2.0
"
,
"
react-dom
"
:
"
^1
7.0.2
"
,
"
react-tooltip
"
:
"
^4.2.8
"
,
"
secp256k1
"
:
"
^4.0.2
"
,
"
sigma
"
:
"
^2.4.0
"
,
...
...
packages.dhall
View file @
d7efafab
let upstream =
https://github.com/garganscript/package-sets/releases/download/v0.1.
8
/release.dhall
sha256:
3453eafc7b11376457dd1b6a2e69fb808701467e0e1733d8210ff1a6b836769f
https://github.com/garganscript/package-sets/releases/download/v0.1.
7
/release.dhall
sha256:
52886309e1f0158a85427f80c1e3d47ce747c5f14fcec671a81fe5c2c711a6db
let overrides =
{ graphql-client =
...
...
src/Gargantext/Components/App/App.purs
View file @
d7efafab
...
...
@@ -23,7 +23,6 @@ here = R2.here "Gargantext.Components.App"
app :: R2.Leaf ()
app = R2.leaf appCpt
appCpt :: R.Component ()
appCpt = here.component "container" cpt where
cpt _ _ = do
...
...
@@ -55,7 +54,6 @@ type HydrateStoreProps =
hydrateStore :: R2.Leaf HydrateStoreProps
hydrateStore = R2.leaf hydrateStoreCpt
hydrateStoreCpt :: R.Component HydrateStoreProps
hydrateStoreCpt = here.component "hydrateStore" cpt where
cpt { cacheParams
...
...
src/Gargantext/Utils/Reactix.purs
View file @
d7efafab
...
...
@@ -297,9 +297,6 @@ useReductor f i j =
useReductor' :: forall s a. Actor s a -> s -> R.Hooks (Reductor s a)
useReductor' r = useReductor r pure
render :: R.Element -> DOM.Element -> Effect Unit
render e d = delay unit $ \_ -> pure $ R.reactDOM ... "render" $ args2 e d
addRootElement :: DOM.Element -> Effect Unit
addRootElement = runEffectFn1 _addRootElement
...
...
src/Main.purs
View file @
d7efafab
...
...
@@ -8,7 +8,8 @@ import Effect (Effect)
import FFI.Simple ((...))
import Gargantext.Components.App as App
import Gargantext.Utils.Reactix as R2
import Prelude (Unit, ($))
import Prelude (Unit, ($), bind)
import Reactix as R
here :: R2.Here
here = R2.here "Gargantext.Main"
...
...
@@ -18,6 +19,7 @@ main = paint $ toMaybe (document ... "getElementById" $ [ "app" ])
paint :: Maybe Element -> Effect Unit
paint Nothing = here.error "[main] Container not found"
paint (Just c) = R2.render app c
paint (Just c) = do
R.render app c
where
app = App.app {}
yarn.lock
View file @
d7efafab
...
...
@@ -7259,13 +7259,14 @@ react-bootstrap@^1.5.2:
uncontrollable "^7.2.1"
warning "^4.0.3"
react-dom@^1
8.2.0
:
version "1
8.2.0
"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-1
8.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d
"
integrity sha512-
6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g
==
react-dom@^1
7.0.2
:
version "1
7.0.2
"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-1
7.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23
"
integrity sha512-
s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA
==
dependencies:
loose-envify "^1.1.0"
scheduler "^0.23.0"
object-assign "^4.1.1"
scheduler "^0.20.2"
react-error-overlay@6.0.9:
version "6.0.9"
...
...
@@ -7747,12 +7748,13 @@ sass@^1.35.2:
dependencies:
chokidar ">=3.0.0 <4.0.0"
scheduler@^0.2
3.0
:
version "0.2
3.0
"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.2
3.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe
"
integrity sha512-
CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw
==
scheduler@^0.2
0.2
:
version "0.2
0.2
"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.2
0.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91
"
integrity sha512-
2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ
==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
secp256k1@^4.0.2:
version "4.0.2"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment