Open virtser opened 7 years ago
@avnersorek WDYT?
We don't need a service for this - we just need to add a serverPreRender
method to Filter.jsx
with the
data fetching
Depends on the effort. I remember it wasn't that easy to accomplish on apartments.
Yeah but I think that included setting up the whole SSR infrastructure. It shouldn't be a big effort.
@zivoko I guess we want a pretty urls here like?
https://app.dorbel.com/search/tel-aviv/ https://app.dorbel.com/search/tel-aviv/1
@virtser pretty url's will be the best. How will the neighborhood look like in the link? https://app.dorbel.com/search/tel-aviv/1 -or- https://app.dorbel.com/search/tel-aviv/old-north
What about country ? https://app.dorbel.com/search/il/tel-aviv/old-north
@zivoko lets have neighborhoods as ids or it can be in local names like: https://app.dorbel.com/search/הצפון הישן/תל-אביב/
@avnersorek I think that every country will have its own domain in the future, so it won't be relevant, but we can make it into url just in case.
@zivoko @TalSarigAvraham putting this issue on hold for now until we define it better.
We need to be able to pre-render for SEO purposes the search page and its variations:
Why don't we user for this services like https://prerender.io ? There is a ready koa middleware for this as well: https://github.com/RisingStack/koa-prerender