# Drei shaderMaterial works with create-react-app but no with next.js

**URL:** <https://discourse.threejs.org/t/drei-shadermaterial-works-with-create-react-app-but-no-with-next-js/52552>\
**Category:** Questions\
**Tags:** shaders\
**Created:** [June 7, 2023, 10:17pm UTC](https://discourse.threejs.org/t/drei-shadermaterial-works-with-create-react-app-but-no-with-next-js/52552 "2023-06-07T22:17:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amo](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/amo/32/45580_2.png) [@amo](https://discourse.threejs.org/u/amo)\
**Post date:** [June 7, 2023, 10:17pm UTC](https://discourse.threejs.org/t/drei-shadermaterial-works-with-create-react-app-but-no-with-next-js/52552/1 "2023-06-07T22:17:28Z")

</div>

Hello,  
Everything is in the title. I spent a lot of time on this, the shader just show nothing in next.js, I have no error and I make a dynamic load in next.js so it’s not a problem of ssr. Do you have any ideas ? I will create this in code sandbox if necessary.  
Thanks for your help.
