r/reactjs • u/swyx • Jun 03 '18
Beginner's Thread / Easy Question (June 2018)
Hello! just helping out /u/acemarke to post a beginner's thread for June! we had over 270 comments in last month's thread! If you didn't get a response there, please ask again here! You are guaranteed a response here!
Soo... Got questions about React or anything else in its ecosystem? Stuck making progress on your app? Ask away! We’re a friendly bunch. No question is too simple.
The Reactiflux chat channels on Discord are another great place to ask for help as well.
Pre-empting the most common question: how to get started learning react?
You might want to look through /u/acemarke's suggested resources for learning React and his React/Redux links list. Also check out http://kcd.im/beginner-react.
View all comments
Show parent comment
1
u/seedsseedsseeds Jun 06 '18
(I don't know much about the charting or annotation libraries out there, so sorry if you're ahead of the curve on me on this)
If you have complex needs that aren't directly served by the libraries you find, don't be afraid to code it yourself! A line graph with annotations can surely be constructed with HTML and CSS (and/or whatever front-end framework you like).
In fact, a google search for
line graph in CSSproduced this link, which (in this section) describes how to make line graphs with svgs. Annotation shouldn't be too hard with some :hover pseudo-selection and some absolute positioning.In general, remember that nothing code does is magic. If libraries don't serve your exact purpose (and if they're open-source), dig into their code and figure out how they do it, and how you can do it differently to meet your needs precisely.