Maybe just one suggestion, for the data-id attribute on the hide post button, it might be a bit better to use an action param, since it can be scoped to the controller: https://stimulus.hotwired.dev/reference/actions#action-param...
Maybe just one suggestion, for the data-id attribute on the hide post button, it might be a bit better to use an action param, since it can be scoped to the controller: https://stimulus.hotwired.dev/reference/actions#action-param...