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
132
Issues
132
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
gargantext
purescript-gargantext
Commits
1fff8e1e
Unverified
Commit
1fff8e1e
authored
Nov 28, 2018
by
Nicolas Pouillard
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Loader] implement componentDidUpdate
parent
2c61318a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Loader.purs
src/Gargantext/Components/Loader.purs
+3
-0
No files found.
src/Gargantext/Components/Loader.purs
View file @
1fff8e1e
...
...
@@ -48,6 +48,9 @@ createLoaderClass' name loader render =
pure { state: s.state
, render: s.render
, componentDidMount: dispatcher this ForceReload
, componentDidUpdate: \_prevProps _prevState _snapshot -> do
{path} <- React.getProps this
dispatcher this (SetPath path)
})
where
initialState {path} = {currentPath: path, loaded: Nothing}
...
...
Nicolas Pouillard
@np
mentioned in issue
#28 (closed)
·
Nov 29, 2018
mentioned in issue
#28 (closed)
mentioned in issue #28
Toggle commit list
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