10 Jun 2022
3 min read
We all know Reactjs is a UI library using which we can build user interfaces rapidly. but Reactjs ecosystem is so rich that you can build dynamic interactive web applications just by using some external libraries.
In this post, we will discuss 5 Reactjs libraries you can use in your next project. we will discuss its use cases and how it can help you to build your next project without any hiccups.
Here is the list of libraries that we are going to discuss
Let's get started.
React flow is a library to build node-based applications and it is built by webkid.io.
Let's say you want to build an application where you want to render node diagrams/flow that could be anything from static to dynamic. here we can use react flow to render node diagrams/flow and end-user can customize it, can add a new node, can update the existing node and delete the existing node.
Here is a live example of OpenMetadata A Single place to Discover, Collaborate, and Get your data right that uses React flow to render entity lineage.
React markdown is a markdown parser react component which can take string markdown and render it to the react element.
There could be a variety of use cases for this library, let's say you are building a blog application and content would be in markdown so there you can use react markdown to parse the content.
We all have used GitHub or a similar application at least once in our developer journey and know that most of the contents are in markdown format. so we can also build a tool using react markdown to create a GitHub readme profile.
Here you can see I have built a markdown previewer using react markdown. you can write markdown and see the output side by side also you can download it as a markdown file.
Code Mirror is a text editor with support for different languages and add-ons to implement the advance and extend the existing functionality.
Here you can use code mirror to build an editor that can allow end-users to play with code snippets.
Here you can see the live use case of code mirror by Carbon tool for creating and sharing beautiful images of your source code.
React Draft WYSIWYG is a rich text editor built on top of reactjs and draftjs.ready to use react component to provide rich text support in your application.
Nowadays most of the communities/publications like
devdojo provide support for rich text content and they have built their rich text editor. but you don't have to reinvent the wheel you can use React Draft WYSIWYG directly in your application.
Here you can see the live example of
React Draft WYSIWYG.
React Tippy is a lightweight tooltip component library for reactjs. it provides a tooltip element or HOC (Higher-order component) and it uses the React DOM to render tooltip.
The use case for React tippy is simple if you need to show some content using a tooltip then you should use React Tippy library.
Here you can find the live example of react tippy
And that’s it for this topic. Thank you for reading.
Hi there 👋, thanks for stopping by! I'm Sachin chaurasiya and I'm a passionate full-stack developer 👨💻, technical blogger and OpenSource contributor. I hope you have been enjoying my articles. Thanks for your support.
See other articles by Sachin
Ground Floor, Verse Building, 18 Brunswick Place, London, N1 6DZ
108 E 16th Street, New York, NY 10003
Join over 111,000 others and get access to exclusive content, job opportunities and more!