Nice! I’m new to React. Can you style regular JavaScript html elements using the style property the way you did or is that a React specific feature?
I've just prepared a solution for you. Let me know if this is what you wanted. dirask.com/posts/pamEkp
This is great! I’ve been using a similar method for a while: stackoverflow.com/a/34490573/11218122
Hi! Unfortunately, you can't assign object styles to the HTML elements, it's as you said specific React feature. 🙁
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice! I’m new to React. Can you style regular JavaScript html elements using the style property the way you did or is that a React specific feature?
I've just prepared a solution for you. Let me know if this is what you wanted.
dirask.com/posts/pamEkp
This is great! I’ve been using a similar method for a while: stackoverflow.com/a/34490573/11218122
Hi!
Unfortunately, you can't assign object styles to the HTML elements, it's as you said specific React feature. 🙁