Using React Spring with older browsers

ES6 syntax in the bundle, coming from React Spring

How I managed to solve the issue

exclude: /node_modules\/(?!react-spring)/
The new babel.config.js file
import 'core-js';

--

--

--

Full-Stack Developer and Musician, based in Berlin. cosentino.dev

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

My first article (Self introduction)

Cick on the ads displayed on https://featuresofyourcar.com and earn $1 per click

Hot Reloading for Chrome Extensions

Ways to manage config in frontend and their tradeoffs

What the THUNK? Using and understanding Thunk in your React/Redux app.

https://youtu.be/j6UUO91yShk

Build Real-time Apps — Learning WebSockets

Custom Glowing EdgeEffect in Android RecyclerView

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Antonio Cosentino

Antonio Cosentino

Full-Stack Developer and Musician, based in Berlin. cosentino.dev

More from Medium

Testing a React Component Library package locally, using Yarn and Craco

React Component Libraries

Creating a Modern React Project Vite, TypeScript, EsLint, Prettier, Lint-Staged, Commitlint and…

Simple implementation of drag and drop between lists using React and Typescript without additional…

Autocomplete and Verify Address With React Components