Add custom action buttons to a view Suppose that I have a view that outputs a list of some content. Now I'd like to add some action buttons next to each content item, so that clicking these buttons triggers some custom action or redirect the user to another path (specific for that item).

I found a solution here that comes close to what I'd like to do, but that solution is based on D7 Add custom action buttons to view. 
Without repeating the content of this link, could someone let me know whether that approach is still valid/good practice for Drupal 8? 

In case it is the solution, how would you implement the functionality of passing the $nid of a list item to a different form via POST when clicking one of the action buttons ? Would this be part of the function function query() {...} in step 5 of the link ? If so, how would you approach this ?

Are there solutions that might be better suited to D8?
Drupal 8 lets you add 'DropButtons' to your View, which looks really good in UI.  


add a 'Custom text' field for each action you want to provide - use 'exclude from display' and 'output as custom link'
add a 'dropbutton' field and select your custom links to be shown in it
profit