Skip to content
#

preact

Here are 1,035 public repositories matching this topic...

preact
dtothefp
dtothefp commented Jul 25, 2019

I've been playing around with Razzle and how the Server HMR works.

I generated a Razzle Project and run it

  • npx create-razzle-app my-app
  • cd my-app && yarn start

If I now edit the src/Home.js I see hot reloading working in the browser and I see the server.js being re-required by the index.js. But if I open my dev tools "view page source" my changes are not actually in the HTML

nelreina
nelreina commented Jun 11, 2018

I like your project a lot. I've been using it for a couple of months now. Just the demo folder never felt natural for me.
Simplify the project by integrating storybook instead of the demo folder.

then users can create documentation of their components.

I think it will benefit all library authors for React/Preact/ vue/ even javascript.

[Storybook](https://git

Strange-AI
Strange-AI commented Sep 18, 2018

JS 配置如下:

 var gitalk = new Gitalk({
            clientID: '3654916*****0c0038c28',
            clientSecret: 'd90d031a*****0e0fa4c7fe2fae747b96b',
            repo: 'Strange-AI.github.io',
            owner: 'Strange-AI',
            admin: ['jinfagang', 'Strange-AI'],
            id: vm.codeId,
            distractionFreeMode: false
        });
        gitalk.render('gitalk-conta
el1f
el1f commented Apr 20, 2020

First of all, congrats on the great project!
I've started using it a couple of days ago but I've now started to bump onto some very big hurdles due to the fact that the Readme and all of the currently available documentation is scattered across several docs, the micro bundle project and so on.
I'm afraid this issue will end up being kind of redundant but I was unable to find anywhere else where

aweary
aweary commented May 5, 2017

The idea of deferring state management to freactal is solid but as far as I can tell, users will still need to use class components if they want to trigger effects in lifecycle methods, and the README seems to imply that you can always use SFCs because freactal is orchestrating state, but that feels slightly misleading since React provides more than just state management APIs

Maybe add an e

js87zz
js87zz commented Jan 21, 2020

Those who fail to find a document or an example refer here to resolve the issue first.
We are planned to build our official document site and before that is completed, please refer to the below link.

develomark
develomark commented Jun 5, 2018

Brilliant package. I really like this.

Please consider renaming didSubscribe to didMount so that it is crystal clear what this is doing.

I'm not sure it is clear immediately to users how this aligns to React or Vue. The fact that didSubscribe isn't handled server side means that 'For handling side-effects upon first subscription.' isn't true in every circumstance.

The added advantage is t

hanford
hanford commented Feb 14, 2017

Hello! Thanks again for making such an amazing little framework. preact-compat has been a dream to work with, and I'm excited to integrate. I've just run into one little issue, that I hope isn't a blocker, because the performance gains are tremendous! 🔥

I'll add as much code as possible, if it's relevant, note that our application runs fine in the browser, where this code isn't executed.

So

patrickhulce
patrickhulce commented Aug 21, 2019

activeClassName gets passed through to the a element as a regular attribute and is not used in the matching-style that is documented in the README.

It seems to be because the Link component defined in match.js is not actually exported. Instead the regular a passthrough component is exported.

https://github.com/preactjs/preact-router/blob/3eb5b31fe75c34672eeb13f2d310dee6d51b1f97/src

Improve this page

Add a description, image, and links to the preact topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the preact topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.