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
serialize/update filter state to url query params automatically
exactly the siv params
path stores query params (its the only place its stored)
setQuery
getQuery
sorting (and default sort)
momentjs and pretty printing of dates
put the filtering stuff into a modal
pagination: page [input for page number] of {page count}[<][>] with [input for per page] per page
immediate query
make it work/functional
then make it pretty
make clientside redirects (nagivate) work
complete two-way-binding: pushState automatically if the path cursor changes
handle server responses with error status codes by setting an error cursor to the response which if set pops up a modal with the raw error data and is cleared when the modal is closed
"please refresh"
"we've been notified"
"we apologize for the situation"
improve workflow with auto-compile and auto-refresh to speed up development
possibly reinject in react components methods when using dependencies that might not be available on the server (example: login on the clientside) in order to make react components work on the server without mocking out all the clientside stuff
consider writing your own - it's easy and you'll then have full control
find better unified name for path and use it everywhere (helpers, cursor, ...)
find better name for page cursor
material design
make button for collapsed nav work
production gulp tasks
minify / uglify
dont expose dev js on production
make the state/tree/cursor a dependency so you can define functions that work directly on it
navigate
setError
navigate function as a more convenient way to update the path cursor
don't know about this. its pretty explicit to update the path cursor directly and can often be bundled with other updates. each action that has to update state should preferably and with a single update anyway.
would be best to pushState if and only if path cursor changes and to change path cursor when relative anchor is clicked or manually in code
changing path cursor = navigating
add active class to active links
only route certain routes when user is logged in
catch invalid paths clientside and show 404
always redirect to login when user is not logged in
roadmap
page
cursor (on mounting)componentDidMount
using https://github.com/ded/reqwestpath
stores query params (its the only place its stored)setQuery
getQuery
[input for page number]
of{page count}
[<]
[>]
with[input for per page]
per pagepath
cursor changeserror
cursor to the response which if set pops up a modal with the raw error data and is cleared when the modal is closednice to have
login
on the clientside) in order to make react components work on the server without mocking out all the clientside stuffpath
and use it everywhere (helpers, cursor, ...)page
cursornavigate
function as a more convenient way to update thepath
cursorpushState
if and only ifpath
cursor changes and to changepath
cursor when relative anchor is clicked or manually in codepath
cursor = navigatingactive
class to active linkspath
s clientside and show 404nice to have changes to external libraries
.stringify
GET pattern, stringThatIsNameOfRequestHandlerDependency
in https://github.com/snd/fragmentsThe text was updated successfully, but these errors were encountered: