Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

How to Resolve Export Format Conflicts Between ReScript and React Router v7 for Hot Module Replacement?

$
0
0

I can’t find where I read it, but there afaik there is a difference between these two exports and how they work in ESM and tree shaking.

// option one
export const foo = 42
// option two
const foo = 42

export { foo }

Viewing all articles
Browse latest Browse all 2592

Trending Articles