meilisearch / mini-dashboard

mini-dashboard for Meilisearch

Home Page:https://edge-preview-meili.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Style InstantSearch's components instead of using `connect-[component]`

mdubus opened this issue · comments

As much as possible, we should try to style directly the InstantSearch's component, intead of using the connect functions.

Example :

const Highlight = connectHighlight(
  ({ highlight, attribute, hit, indexContextValue, ...props }) => {
    const parsedHit = highlight({
      highlightProperty: '_highlightResult',
      attribute,
      hit,
    })

    return (
        ...
    )
  }
)

This could result in the dashboard being a little faster than it currently is.

We are currently not adding new features to the mini-dashboard as per the notice on the readme. I'm closing this for now. feel free to re-open it if the situation changes.