pytorch
3ff76af2 - model_dump: Implement "Hider" properly (#57654)

Commit
3 years ago
model_dump: Implement "Hider" properly (#57654) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57654 I learned how to use children in React/Preact. :) Now it's not necessary to give every hidable section its own id and synchonize the "shown=false" with "style='display:none;'". This also means that the hidden elements aren't rendered to the DOM unless the hider is open. Test Plan: Clicked around in Chrome. Reviewed By: malfet Differential Revision: D28531393 Pulled By: dreiss fbshipit-source-id: bc86c823ae4b7e80c000f50c5429d89dff6ae64d
Author
Parents
Loading