Apple Studio Display (5K) on Arch Linux with Hyprland was experiencing intermittent connection issues where:
- Display would not always connect reliably
- System detected the display as two separate devices
- Wrong display connector was sometimes chosen
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>for-in vs. Object.values vs. for loop</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
| <script src="./suite.js"></script> | |
| </head> | |
| <body> | |
| <h1>Open the console to view the results</h1> |
| import React, { useCallback, useEffect, useState, useTransition } from 'react'; | |
| import { useAppDispatch, useAppSelector } from '~/hooks'; | |
| import { libraryActions } from '~/store/slices/library/library'; | |
| import { librarySelectors } from '~/store/slices/library/selectors'; | |
| // Search input | |
| // Dispatches redux thunk when text input changes | |
| export function TrackSearch() { | |
| const dispatch = useAppDispatch(); |
Apple Studio Display (5K) on Arch Linux with Hyprland was experiencing intermittent connection issues where: