4 ms·
At what point does the complexity outweigh the benefits? Just because someone wants to control a UI element to the nth pixel doesn't mean we should let them do
by riskable 6y ago
At what point does the complexity outweigh the benefits?
Just because someone wants to control a UI element to the nth pixel doesn't mean we should let them do that. At this point I'm thinking it might be less bandwidth, complexity, and easier to maintain to just present a web page as a giant imagemap. SVG, so it scales. With screen-ratio-based media queries rather than guessing DPI based on inaccurate factors like the number of pixels.
- sfvisser 6y agoGood luck building anything interactive this way.
- yakshaving_jgt 6y agoHow is an image map not interactive?
- mattwad 6y agoSeems pretty simple given it includes not only test setup and continuous integration, but also publishing to npm and documentation
- intergalplan 6y ago> At this point I'm thinking it might be less bandwidth, complexity, and easier to maintain to just present a web page as a giant imagemap. SVG, so it scales. SVG is XML, so you can do exactly that if you want to. Hook React up to it and go nuts. You can have the browser build a DOM tree out of it for you and use many of the same APIs you would on HTML, if you don't want to use React. Seriously, this is a thing you can actually do.