Skip to content

issues Search Results · language:Dune language:JavaScript language:JavaScript language:JavaScript language:CSS linked:pr

Filter by

1.9M results  (334 ms)

1.9M results

redux-devtools-extension is listed under dependencies and isn t needed at runtime (Redux Toolkit s configureStore enables devtools automatically in development). The standalone package is also deprecated. ...
cleanup
dependencies
frontend

react-apexcharts/apexcharts, react-chartjs-2/chart.js, and recharts are all dependencies. Shipping three chart engines is heavy and redundant. Pick one charting library for the dashboard and drop the others ...
dependencies
enhancement
frontend
performance

package.json includes moment, moment-timezone, date-fns, and dayjs simultaneously. This bloats the bundle significantly (moment alone is large and in maintenance mode). Standardize on one (dayjs or date-fns) ...
dependencies
enhancement
frontend
performance

The JWT is persisted in localStorage (utils/setAuthToken.js). Any XSS on the page can read it and exfiltrate the session. Consider httpOnly cookies for the token, or at minimum tighten CSP and sanitize ...
auth
frontend
security

components/routing/PrivateRoute.js wraps the component with connect(mapStateToProps) AND reads state via useSelector, while propTypes declares auth as required even though the component uses hooks, not ...
cleanup
frontend

actions/auth.js exports apiLogout = () = userLogOut() (a plain action creator call), while every other action is a thunk (...) = async (dispatch) = {...}. Callers must remember to dispatch(apiLogout()). ...
auth
bug
frontend

In store/authSlice.js, the userAuthError reducer only sets state.token = null but leaves isAuthenticated and user untouched. After an auth error the app can still believe it s authenticated. Reset isAuthenticated=false, ...
auth
bug
frontend

actions/auth.js apiLoadUser catches every error and calls navigate( /auth/login ). A temporary network blip or a 500 will log a valid user out. Distinguish auth failures (401) from transient errors and ...
auth
bug
frontend

In pages/auth/Login.js (and Register) the submit Button is always enabled and there is no pending state, so users can submit multiple times and fire duplicate login/register requests. Wire Formik s isSubmitting ...
enhancement
frontend
ux

Debug logs remain in shipped code, e.g. console.log( @@@ , formData) and console.log(formData) in actions/metrics.js (apiAddMetric, apiUpdateMetric), console.log(res.data.doc) in apiUpdateMetricWage, and ...
cleanup
frontend
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! Restrict your search to the title by using the in:title qualifier.