inveniosoftware / react-searchkit

React component library for interacting with a REST API.
https://inveniosoftware.github.io/react-searchkit/
MIT License
78 stars 40 forks source link

Allow overridable ids namespaced by `appName` #117

Closed ntarocco closed 2 years ago

ntarocco commented 4 years ago

Each RSK component is now namespacing Overridable ids by component name and optional overridableId prop, e.g. ResultListItem.element.mycmpname. Take into account the RSK appName prop in the final component name, in case there are 2 RSK app in the same page. Example: MyAppName.ResultListItem.element.mycmpname If no app name, then it should NOT be app namespaced.

Currently, the appName prop is used to namespace events and it has a default value. It should probably removed (consequences?)