cedricdelpoux / cedricdelpoux/react-responsive-masonry

Can't use in Nextjs

Open
#127 23 comments 21 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
455
Forks
47
PR merge metrics
No merged PRs in 30d

Description

I installed as per the docs and I set in a component within a nextjs project.
Expect behavior:
The component works as expected.
Actual behavior:
I get this error
` ⨯ TypeError: Cannot set property ResponsiveMasonry of # which has only a getter`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported setup from the docs in a Next.js component and capture the package and Next.js versions. Inspect the component import and package entry points involved in the getter error. Done means the component renders in a Next.js project without the reported TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nextjs, react
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.