Currently, when a new role is created and the `navigation.goBack()` call is made to go from the `create-roles-screen` to the `community-roles-screen`, the newly created role will not show up until
the screen is closed out of and re-opened. This is because while the `threadInfo` is successfully updated, the react navigation params containing the `threadInfo` are not updated. The solution to this is to
run a `useEffect` hook that will pull in the `threadInfo` from the redux store, if it exists (this will be up to date). This is a solution that is done in [[
https://github.com/CommE2E/comm/blob/83e358936b6e8c66d3c910d038bbaf6b35ec603b/native/chat/settings/thread-settings.react.js#L1151-L1156 | thread-settings.react.js ]].
Separately, the addition of `CommunityRolesScreenRouteName` to `threadRoutes` is because we want to consider for the possibility of someone deleting the community while someone is creating a role - in this
case, we'd like to use the existing `ThreadScreenPruner` to alert the user that they no longer can view the community. The pruner calls [[
https://github.com/CommE2E/comm/blob/83e358936b6e8c66d3c910d038bbaf6b35ec603b/native/chat/thread-screen-pruner.react.js#L74 | getThreadIDFromRoute ]]. This function takes in a `routes` parameter that
defaults to `threadRoutes`.