TGTGInsighttelegram intelligenceLIVE / telegram public index
Post content
帖子内容
#TIL#react react 很早就不支持 !important 样式 > since 15.x it no longer works even on initial render (since moving away from innerHTML). All rules with "!important" are now being thrown out. > !important is horribly abused in css, and if people write their css properly their is never a need for !important. That said I don't think it should be included, because then people can use "bad practices" in their apps and styles. Personally inline styling with react is bad enough. https://github.com/facebook/react/issues/1881