Skip to content
프로젝트

소개

React templating for Meteor

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • .html to ReactTemplate
  • Blaze helper context (with the data from the context)
  • Blaze onCreated @TwinTailsX
  • Blaze onRendered @TwinTailsX

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Blaze React (devel)

Blaze React is a Meteor package which give you templates for React in a familiar Blaze API (giving you helpers, events, onRendered, onCreated etc) with a subset of Spacebars (aka Meteor flavored Handlebars).

Why React? – Well it gives us faster pageloads, SEO without Spiderable, accessibility for users without JavaScript and general improvements in page rendering speed.

Why a Blaze/Spacebars API? – Well it's way easier to learn and get started with, can't argue against that right (see examples below)?

Installation

meteor add timbrandin:blaze-react

Demo

Getting started

Currently this project is in flux until we have a preview-release, partly due to the announcement from MDG in developing a similar package that builds templates for React, but we think we can give this to you earlier than within a few months and with support for most of Blaze 1 features and Spacebars.

XXX Add example code to get started.

Features

  • .html to ReactTemplate
  • Blaze helpers
  • Blaze helper context (with the data from the context)
  • Blaze onCreated @TwinTailsX
  • Blaze events
  • Blaze onRendered @TwinTailsX
  • Blaze onDestroyed @TwinTailsX
  • Blaze autorun @TwinTailsX @facespacey
  • Blaze subscribe @TwinTailsX @facespacey
  • Spacebars {{helper}} (SafeString)
  • Spacebars {{helper ..args}} (SafeString) (with arguments)
  • Spacebars {{{helper}}} (raw HTML)
  • Spacebars {{{helper ..args}}} (raw HTML) (with arguments)
  • Spacebars "{{helper}}" (SafeString – In Attribute Values)
  • Spacebars ={{helper}} (SafeString – Dynamic Attribute Value)
  • Spacebars {{#if}}
  • Spacebars {{else}} {{/if}}
  • Spacebars {{else}} {{/if}} (nested)
  • Spacebars {{#each}}
  • Spacebars {{#each in}}
  • Spacebars {{else}} {{/each}}
  • Spacebars {{else in}} {{/each}}
  • Spacebars {{else}} {{/each}} (nested)
  • Spacebars {{#with}}
  • Spacebars {{else}} {{#with}}
  • Spacebars {{else}} {{#with}} (nested)
  • Spacebars {{#unless}}
  • Spacebars {{else}} {{/unless}}
  • Spacebars {{else}} {{/unless}} (nested)
  • Spacebars {{#helper}}} (Block helpers)
  • Spacebars {{#helper ...args}}} (Block helpers with arguments)
  • Spacebars {{/helper}}} (Block helpers)
  • Spacebars parentData()
  • Spacebars {{../../helper}}
  • Throw notice when the syntax is broken.
  • Transpilation as a Babel plugin, i.e. babel-preset-react

관련 프로젝트 살펴보기

불러오는 중…