Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

Here's the code

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'?

Author
Account Strength
90%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
2,374
Link Karma
576
Comment Karma
1,755
Profile updated: 6 days ago
Posts updated: 6 months ago

Subreddit

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