DEV Community

Discussion on: Opinionated React: Folder Structure & File Naming

Collapse
vincevegas profile image
vince vegas

What if the component item does have a third-party library attach to it
eg.

import React from 'react';
import Zoom from 'react-reveal/Zoom';

const movieCard = () => (

....content

)

Is this the right structure if one component has some functionality on it