Max Diachenko

Results 17 comments of Max Diachenko

@Joker-Bat How is that applicable to the scenario? I do not change param in the component itself I do use useNavigate outside the component. I don't think it is the...

Actually @Joker-Bat's snippet worked for me. ```javascript const location = useLocation(); const { id } = useParams(); const postType: 'answer' | 'question' = (location.state && location.state.postType) || 'question'; // If...

For me as well. MacBook Pro 16" M1 with LG UltraFine

So basically this issue can be close and actually it was designed RIGH, I just misunderstood it. Component should not be re-rendered on param change

Also this will solve my problem when adding multiple styles It works okay in the app, but TS is complaining. Workaround: