Experience-Monks / react-ui

Repository for public react components in Jam3
https://jam3.github.io/react-ui/
MIT License
5 stars 3 forks source link

Integrate Next.js #56

Open grez96 opened 3 years ago

grez96 commented 3 years ago

Use Next.js in react-ui so the Button/Link component can be easier to integrate.

jmckinnell commented 3 years ago

I'm of the opinion that we should keep react-ui platform agnostic. Button and Link are easy enough to include in the boiler-plate and any style/animation based components can just wrap the button etc.

grez96 commented 3 years ago

I agree keeping react-ui platform agnostic is best. Maybe we can add Next.js as a peer dependency, that way these components can just import ex. import Link from 'next/link'. Doing this the components will become super easy plug and play. Curious why this PR that moved react-router to peer dependencies was closed?

Maybe we can also build component variations?