ssr-react-insta-stories
v2.4.2
Published
A React component for Instagram like stories
Downloads
28
Readme
🤷 Why
Why did I make this fork? When you go for SSR-only on Gatsby, Next, etc. you can't use packages with window
or document
from JavaScript.
❌ No keyboardNavigation
To make it work on SSR I removed document
and window
references, so I removed keyboardNavigation
prop which used JavaScript document
for event listeners on keyboard.
🌍 Different WebPack style-loader
To make it work on SSR I change WebPack style-loader
with isomorphic-style-loader
, which is the style-loader to use if you use a component for SSR.
⚙️ Install
npm install --save ssr-react-insta-stories
📄 Docs
Official docs on official repository: https://github.com/mohitk05/react-insta-stories
🪳 Bugs
Report bugs and issues on official repository: https://github.com/mohitk05/react-insta-stories