menu

React Static

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

Channels
Team
Posts
Members
Info
down-caret

Watercooler Chat

A place for chit-chat :)

thumbsup
7
message-simple
281

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

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

Get URL params using reach router

Should I expect name in props of index.js?

thumbsup
0
message-simple
0

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

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

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

Anyone building in lambda?

Hi! We're running into size issues with our lambda and I was wondering if anyone has tried using serverless-webpack or so?

thumbsup
0
message-simple
0

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

What are the `html.worker.js`, `json.worker.js` ...etc

These files are output when I build but I'm not sure why they are generated or how they are being used?

thumbsup
0
message-simple
0

Has anyone tackled RSS yet?

From the conversations I've seen in some brief searching, it seems like React Static has some missing blog features that have recently been enabled by some new architecture. I'm just discovering the project, but I'm pretty interested in the clarity of its direction compared to…

thumbsup
0
message-simple
0