webscopeio / react-textarea-autocomplete

📝 React component implements configurable GitHub's like textarea autocomplete.
MIT License
451 stars 80 forks source link

Use `loose` flag in Babel settings #48

Closed jukben closed 5 years ago

jukben commented 6 years ago

As Andarist correctly suggested in his PR https://github.com/webscopeio/react-textarea-autocomplete/pull/47 I would be nice if you could use loose to achieve more performant code.

Unfortunately, the preset preset-react-create-app what we've used don't support it. We should find a replacement for it.

jukben commented 5 years ago

Let's check it out if something has changed past months on the side of preset-react-create-app

jukben commented 5 years ago

Let's stay with CRA. https://github.com/facebook/create-react-app/blob/master/packages/babel-preset-react-app/create.js#L141 🥇