frontarm / navi

🧭 Declarative, asynchronous routing for React.
https://frontarm.com/navi/
MIT License
2.07k stars 71 forks source link

Removed usage of non existing types, SFC -> FC (React 18) #201

Closed PrzemyslawMikos closed 2 years ago

PrzemyslawMikos commented 2 years ago

Changes proposed in this PR:

In React 18 SFC does not exist.

jamesknelson commented 2 years ago

Looks good to me - thanks for putting together a React 18 fix.

I've just deployed this as 0.15.0.