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
ff028ee4
Commit
ff028ee4
authored
Oct 10, 2019
by
James Laver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DEBUG] Attempt to memo the component, which does not fix the problem
parent
d6b92438
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
DocsTable.purs
src/Gargantext/Components/DocsTable.purs
+5
-5
No files found.
src/Gargantext/Components/DocsTable.purs
View file @
ff028ee4
...
@@ -306,11 +306,11 @@ renderPage (_ /\ setTableParams) p@{session} res = R.createElement el p []
...
@@ -306,11 +306,11 @@ renderPage (_ /\ setTableParams) p@{session} res = R.createElement el p []
pageLayout :: Record PageLayoutProps -> R.Element
pageLayout :: Record PageLayoutProps -> R.Element
pageLayout props = R.createElement pageLayoutCpt props []
pageLayout props = R.createElement pageLayoutCpt props []
pageLayoutCpt :: R.
Component
PageLayoutProps
pageLayoutCpt :: R.
Memo
PageLayoutProps
pageLayoutCpt = R.hooksComponent "G.C.DocsTable.pageLayout" cpt where
pageLayoutCpt = R.
memo' $ R.
hooksComponent "G.C.DocsTable.pageLayout" cpt where
cpt props@{session, nodeId, listId, corpusId, tabType, query, params} _ = do
pure $ R.fragment []
cpt props@{session, nodeId, listId, corpusId, tabType, query, params} _ = do
--
useLoader {nodeId, listId, corpusId, tabType, query, params: fst params} (loadPage session) $
useLoader {nodeId, listId, corpusId, tabType, query, params: fst params} (loadPage session) $
--
\loaded -> renderPage params props loaded
\loaded -> renderPage params props loaded
---------------------------------------------------------
---------------------------------------------------------
sampleData' :: DocumentsView
sampleData' :: DocumentsView
...
...
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