menu
React Static

# General

Anything & Everything

Posts
Members
Search
Tanner Linsley·2h·Pinned

Watercooler Chat

A place for chit-chat :)

thumbsup
7
message-simple
255

Is it possible to use react-native-web with react-static?

https://m.youtube.com/watch?feature=youtu.be&v=tFFn39lLO-U

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
15

How to modify the webpack entry property?

I wrote a plugin that modifies the webpack configuration. The idea is to change the entry to [ '@babel/polyfill', '/home/path/src/index.js' ] ], but this broke my app. So I've noticed that there's some more entries in the array entry prop, like, for example: ` …

thumbsup
0
message-simple
1

Caching API requests in development

Could anyone suggest a good approach to cache 3rd party API requests in development for React Static? One of the sites I've built has grown a lot and due to React Static fetching all the data each time I run yarn start, I keep killing the 3rd party API with requests when…

thumbsup
0
message-simple
3

Dynamic Routes work but show 404 in console

I like the idea of having a subset of dynamic routes for pages that don't need to be statically built, in my case, a careers/job listings board. Almost all other pages on the site are defined in static.config, including the careers page. Goal: …

thumbsup
1
message-simple
7

Why can't I pass route data to '/' path in v6

I don't understand what I'm doing wrong. I even copy past the blog example, which has page data sent to it, but the index.js file inside of the pages folder doesn't receive anything, even if the syntax is identical. This is my static.config: https://pastebin.com/0QDUpnHn and…

thumbsup
0
message-simple
0

Children/Parent route relationship inside components

I have the following routes: What if I want Post component to append to Blog page in a given place, not to replace it? In the other words, is it possible for instance to access parent prop in Post component, or to somehow pass children in Blog? …

thumbsup
0
message-simple
0
Kyle·9d

Reading local files for React-static is beyond me at the moment

After listening to Tanner's impassioned youtube video about react-static, I was excited to try it. I get the various concepts at play and have gotten closer. The part that is still over my head is about reading data from a local source. I found the code snippet (below below) and…

thumbsup
0
message-simple
4

6.4 / 6.3.7 Release?

Hey @tannerlinsley, It has been almost a month since last release. Since then, a lot of PRs were merged and a lot of bugs were resolved. …

thumbsup
2
message-simple
3