You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be more correct to get selectors from React context (example), but we don't consistently follow that pattern even within the default components.
For the record, the recommended Griddle pattern for what you're doing would put the connect inside PaginationContainer and let Pagination focus only on rendering from props.
We don't want to use the React context since that's not recommended, but thanks for the tip
To be clear, Griddle uses context extensively for making configuration (e.g. composed components from plugins/props) available to child components (Parent-Child Coupling). You probably shouldn't use it for your own app's infrastructure, but it's often the correct way to customize Griddle (see #740, #743).
Griddle version
1.11.1
Problem
When I'm implementing the
Navigation
myself, by copying the original and just addingThe shown
maxPages
will always result in1
, like you can see in the CodeSandbox instead of the10
that's shown in the dropdownThe
maxPageSelector
that I use is the same that gets called inPageDropdownContainer
, so am I still doing something wrong? 😕CC: @dahlbyk
The text was updated successfully, but these errors were encountered: