Giter Site home page Giter Site logo

microwebstacks / astro-examples Goto Github PK

View Code? Open in Web Editor NEW
139.0 4.0 13.0 4.08 MB

Astro design patterns examples, client-server state management, markdown, caching

Home Page: https://microwebstacks.github.io/astro-examples/

License: MIT License

JavaScript 66.21% Astro 29.73% Batchfile 0.49% Shell 0.10% Python 1.86% Roff 0.02% MDX 1.54% TypeScript 0.06%
astrojs cache-control expressjs markdown mdx nodejs ssg ssr

astro-examples's Introduction

MicroWebStacks

Main repo to host design and discussions

https://github.com/orgs/MicroWebStacks/discussions/2

https://github.com/orgs/MicroWebStacks/discussions/3

https://github.com/orgs/MicroWebStacks/discussions/4

Statements

  • JSX is an approach that can scale complexity hierarchically by concatenating html, css and js from a single abstraction call
  • abstracting DOM manipulations from the developper can result in poor performance (https://svelte.dev/blog/virtual-dom-is-pure-overhead)

most promising

Solidjs

https://www.solidjs.com/

Astro build

https://astro.build/

  • still not stable, does not handle React components properly

Fresh

https://deno.com/blog/fresh-is-stable

Frameworks dom and jsx

frameworks

Using JSX without React

https://dev.to/kartiknair/using-jsx-without-react-28eb

https://adostes.medium.com/you-dont-need-react-to-use-jsx-b78dd2a95c27

alternative

  • Reactive fine-grained change propagation

using html litteral strings

Easy and practicle for systematic full render scenario e.g. SVG voronoi generator

Q&A

TODOs

  • test ASTRO with Solid

Help wanted

  • Find a Nextjs equivalent that works with Solid.js (Express, Nest, ASTRO)
  • Find a library that creates web components that can run without javascript (native DOM components)

astro-examples's People

Contributors

wassfila avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

astro-examples's Issues

01 example

Node version could not render on the page, it's blank due to CSS when using Dark Reader extension.

Tested on Astro 2.0.10 with Nodejs 18.14.0 but console.log can see version.

It's better to remove the styling to avoid problematic for users.

Example is not running

By the way, Many thanks for the wonderful samples ๐Ÿ’ฏ

Steps to reproduce
Try to open the 01 basic in stackblitz & codesandbox, sadly it failes with following error

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.