elvingm / jewish-currents-static Goto Github PK
View Code? Open in Web Editor NEWStatic website build for Jewish Currents Magazine
Static website build for Jewish Currents Magazine
Verify why this is occurring as posts
should be an empty array if the Category has no posts associated to it.
Think it's because of using the spread operator ...
on an empty array.
Build times are way too long and the quick and dirty solution for pulling down Dato data, and linking models is probably the source.
One possible optimization taken from Dato's own code is using their ItemsRepo
- see this thread and this example. It looks like this code performs the linking of models for us without us having to handle it recursively as we are doing now here.
Mailchimp for example, has far better documentation and support it seems. Need to leverage Netlify functions in order to have a back-end to handle the sign up.
Non-Static Routing with react-static might be a good solve for this.
:splat
and pull the latest data from DatoCMS to render the page client side.For cases where none are provided yet grab:
Right now the site has a hacky implementation for subscribing new users to the newsletter. We use Constant Contact's free tier and have to destroy and rebuild the form during route changes in React Static which causes warnings / possible errors in the console.
It's probably best if we simply do some basic email validations on the client and submit the user provided email to a lambda function that registers that email (after final validation) to the proper Constant Contact list.
Obtain login from client for Constant Contact for this issue.
Initially, the build process returned relative URLs whenever fetching data for media content. The build process has since then changed and now returns the absolute URL. As a result, we should assume that we're always given the absolute URL in the context of the Image
component.
.pullquote
Investigate how much code we can get rid of in our routes-utls by leveraging React's makePageRoutes
.
More or less the "scheduling" feature asked for by client
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.