DEV Community

EVA
EVA

Posted on

Is it real to create LinkedList in React?

I'd be glad to get some examples of that creation If someone had....

Top comments (1)

Collapse
 
citronbrick profile image
CitronBrick • Edited

Do you mean an implementation of the Linked List data structure ?
In that case, you need to understand that React is not a language. It's a library (some consider it a framework instead). JavaScript (or TypeScript) is the language. That being the case, you can create a Linked List in the JavaScript language.

Ideally this would be a beginner exercise after you understand the algorithm.

I'd suggest you start by implementing a double linked list in JavaScript.

It's perfectly normal if your solution isn't perfect at the 1st try.
Try with different lists, think & fix your code.