[Bootstrap 4] Bootstrap Dropdown menu is not working on v4.2.1

Dev Tools の Console にこのようなエラーが表示されています。

“`prettyprinted
Uncaught DOMException: Failed to execute ‘querySelector’ on ‘Document’: ‘/foo’ is not a valid selector.
“`

## 調査

v4.2.1 のバグで v4.3 で修正されます。

> * [Problem in Dropdown in Bootstrap 4.2.1 · Issue #27903 · twbs/bootstrap](https://github.com/twbs/bootstrap/issues/27903)

v4.3 で修正して早めにリリースするとのこと。

> we plan to cut v4.3 in shorter time compared to v4.2
>
> [Problem in Dropdown in Bootstrap 4.2.1 · Issue #27903 · twbs/bootstrap](https://github.com/twbs/bootstrap/issues/27903#issuecomment-450292043)

リリース日は不明。

> * [v4.3.0 ship list · Issue #27893 · twbs/bootstrap](https://github.com/twbs/bootstrap/issues/27893)
> * [Releases · twbs/bootstrap](https://github.com/twbs/bootstrap/releases)

## 対処

特段の理由がなければ、v4.1.3 にダウングレードして利用します。

“`prettyprinted
% yarn remove bootstrap
% yarn add bootstrap@4.1.3
% yarn list –depth 0 | grep bootstrap
├─ bootstrap@4.1.3
“`