GithubHelp home page GithubHelp logo

dschaefer / aliens-vscode Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 3.0 54 KB

SVG and React in a VS Code Webview

Home Page: https://cdtdoug.ca/2018/08/31/aliens-vscode.html

TypeScript 90.70% CSS 0.70% JavaScript 8.60%

aliens-vscode's Introduction

Aliens, Go Home! VS Code-style!

This is an adaptation based on the article Developing Games with React, Redux, and SVG.

The main changes are:

  • It's a VS code extension. Weird, but there's a reason for all this.
  • It's written in TypeScript. Because that's just a better way to write JavaScript.
  • It uses MobX instead of Redux. MobX is so much easier to work with.

The purpose of this exercise is to learn how to use SVG in VS Code webviews to provide visualizations for the artifacts and systems that developers work with when writing code in VS Code. React has support for SVG in it's virtual DOM so it's a natural for managing things like diagrams, etc., that change over time. And it's much easier to understand than D3.

And, it's just plain fun and crazy to see running inside VS Code!

aliens-vscode's People

Stargazers

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

Watchers

 avatar

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.