Terminal/discordapps.dev

"RangeError: Maximum call stack size exceeded" on pages where CATEGORIES loads before AUTH

7coil opened this issue · 4 comments

7coil commented

You cannot do a fresh page load onto this page
https://discordapps.dev/en-GB/bots/473861594749861909/edit

There are some other pages that do the same.
/en-gb/bots/add

image

Just refresh a few times to see the error spring to life.

7coil commented

This error seems to occur on pages that are connected to react-redux.

The following pages apply:

  • /admin (doesn't seem to break with this one, theory broken?)
  • /bots/add
  • /rpc/add
  • /bots/:id/edit
  • /rpc/:id/edit
  • /filter
7coil commented

This error occurs when the RECIEVE_CATEGORIES event occurs before the RECEIVE_AUTH event (yes one of them are spelt wrong, deal with it)

7coil commented

Updating react-helmet probably fixed it

nfl/react-helmet#437

7coil commented

image