Closed MikeSha closed 4 years ago
Thanks for the PR. Would you mind though explaining which problem are we solving here?
Sure. I have a complex object of MathJax data, and I need to parse it recursively. It doesn’t mater actually, but the thing is I need unique ID for each item in the DOM.
вт, 23 черв. 2020 о 22:40 Mehdi Sadeghi notifications@github.com пише:
Thanks for the PR. Would you mind though explaining which problem are we solving here?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mehdisadeghi/react-mathjax-preview/pull/49#issuecomment-648377147, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIN4DJ3QLSYBACC5PFHCYDRYEAJDANCNFSM4OERWNMA .
Fair enough. Just add a default id and we are good to go.
Fair enough. Just add a default id and we are good to go.
Done! Thank you!
@MikeSha I think you've some syntax error or alike. btw, I fixed that initial build issue in master, so if you update your branch it should built correctly.
Finally done :) @mehdisadeghi
@MikeSha see v2.0.2
Also now it is possible to set id through props
Not sure I understand why tests are failing