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

Getting started with React Three Fiber.

[Action required] Your RSS.app Trial has Expired — Sun Feb 06 2022

Top 5 React Mistakes Web Developers Make

The Angular Guide — 2: Project Setup and Angular CLI + Cheatsheet | JuniorDev

Migrating from Flow to Typescript: Why ? How ? Worth it ?

With HTML, a reset button can be added in a form with <input /> tag.

ReactJS Intro: With and without JSX and Babel for beginners

Cross browser window state management

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

WebStorm. How to create your own file templates

How to implement Sentry.io + Next + TypeScript.

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

Clean Code with ESLint