menu

React Static

A fast, lightweight, and powerful framework for building static-progressive React applications and websites.

Channels
Team
Posts
Members
Info

Analytics platform

What analytics platform you guys use with react-static?

thumbsup
0
message-simple
0

Get URL params using reach router

Should I expect name in props of index.js?

thumbsup
0
message-simple
0

IE error when using react-static

Getting IE error when running react-static site. Tried babel-polyfill but not working. Any idea?

thumbsup
1
message-simple
24

ie11 support success

I saw a few other threads about issues getting ie11 support working, thought I would post what is working for me. This worked for me on both an existing react-static app, as well as on a freshly created app made with react-static create. 1. install @babel/polyfill …

thumbsup
0
message-simple
1

Getting 404 when accessing a static page with "dots" in the url

I'm trying to port a site to react-static and ran into a particular issue with urls that have a dot in them. for example: /last.fm/welcome. When I do yarn build, static htmls are built successfully. I can access the index.html for the page and it looks right. However, accessing…

thumbsup
0
message-simple
6

watch folder for changes

Is there any build-in watch option to trigger yarn start? I store all my content in local folder instead of fetch from 3rd party

thumbsup
0
message-simple
2

Noob question. How does react-static do URL rewriting / reformatting?

For example, how does react-static make sure to not require URLs to be /blog/post/1.html, but just /blog/post/1?

thumbsup
0
message-simple
1

npm audit > decompress

Hi. Does anybody know how to replace decompress react-static dependency or patch it somehow? npm audit says it is a high severity vulnerability and should be fixed. https://www.npmjs.com/advisories/1217

thumbsup
0
message-simple
1

Need Help for Child Routes rendering. Parent route works fine, but child routes…

I am developing a static site using json data. I replaced the post data in the react-static default sample, and it works fine. When I add another route '/news' with a bunch of messages in another json, the parent route '/news' works fine, but the child routes, such as '/news/1/'…

thumbsup
0
message-simple
0

my machine's local path is being added to assets during build

Hello, some of my assets are being set to similar url's like: https://domain.com/dist/templates/vendors~Users/corey/Documents/Sites/someprojectdir-w-info/src/pages/index.9203a401.js …

thumbsup
0
message-simple
15