7

Because of reasons we had to use the reactabular-module in our react application. There were problems giving relative values to the table-columns so a coworker decided to install a resize-listener in the window and calculate the relative values itself when the window width changes.

But i have to defend the guy who did this. Given the other things to do and our (limited) knowledge of the css-display-attribute and the reactabuler-module this was the best thing to do. Or we just wamted to finish this because we already wasted hours on this.

Comments
  • 1
    Well I have done same kind of shit, where I calculated width and height based on screen size using js. I don't know shit about frontend but feels like old times when people used to do this stuffs
Add Comment