This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
1
How to go about inserting a class into another (and how to think the 'react' way)
Post Body
Hi all,
This is my first time diving into react and i'm trying to figure out the best way to do this.
I'm using Prism to do some codehighlighting, and when the user select something, I want a textbox to appear under it. What is the best way to do that?
I'm sure it would involve creating another class, but how would I insert it? That whole thought process seems counter to the example app Facebook gives
Also, are there any improvements that could be made on my code to make it more 'react thinking'?
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 9 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/reactjs/com...