React is a library for building user interfaces. You wouldn’t use it to create a complex search (maybe the UI for that search, but not the search itself). Search functionality is normally implemented server-side.
Not sure if that answers your question or not…
You are right. Someone has implemented that part in the React where the UI has search functionality where they are querying the database and whatever UI side stuff is needed, is done on the client side. I am wondering if this can be used is I could use that part without converting my application to React.
No, it’s for people already using React. You would not want to drop in random React components into a non-React application.
What you’re probably looking for is some kind of typeahead or autocomplete. There are lots of libraries for that.
Actually, I will have to use that React thing since that was specifically developed for something that I need.Not sure if I should switch to React or continue using my existing application.
Switching to React is a big deal if you’re not familiar with it or any of the tooling that’s required. What is the library?
Re: SO Post
I’m aware of partial migrations to React, it’s not advisable especially if all you’re using it for is one component. Imgur famously did a partial React migration, so has Plex Server. It’s not advisable unless you’re planning on moving everything to it.
To be more specific, there’s something that someone has developed in other team using React and I am thinking how should I go about incorporating that specific functionality in my code where I need it.
Gotcha, that makes way more sense.
In that case, using the partial might be ok as long as you don’t try to do this with a bunch of different components and import them all individually. If you have other internal teams using React, I would highly suggest taking a look at it to start using it for the full application. It’s a great set of libraries.
I see. So, that person has used some other components I believe to make that implementation/functionality work. I am only dealing with one person right now and not any other team. Do you still think it would be possible to migrate that react based implementation to my code where I need it?
I mean, anything is possible but I have no idea what kind of code base or app you’re talking about.
Ok. I’ll try to figure it out. Thanks for your inputs.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.