You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Guys, I have a question regarding the prop dir. Is there any specific reason to implement rtl by the prop dir, instead of using useEffect hook to detect whether the document body is in rtl or ltr? Will the performance be an issue if using the code below instead of setting dir prop? Thank you so much!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey Guys, I have a question regarding the prop dir. Is there any specific reason to implement rtl by the prop dir, instead of using useEffect hook to detect whether the document body is in rtl or ltr? Will the performance be an issue if using the code below instead of setting dir prop? Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions